2020-03-17 04:31:30 +00:00
|
|
|
.include "macro.inc"
|
|
|
|
|
|
|
|
# assembler directives
|
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
2020-05-26 22:09:00 +00:00
|
|
|
.set gp=64 # allow use of 64-bit general purpose registers
|
2020-03-17 04:31:30 +00:00
|
|
|
|
|
|
|
.section .data
|
|
|
|
|
2020-05-26 22:09:00 +00:00
|
|
|
.balign 16
|
|
|
|
|
2020-03-17 04:31:30 +00:00
|
|
|
glabel Boss_Dodongo_InitVars
|
|
|
|
.word 0x00120900, 0x00000035, 0x00190000, 0x00001820
|
|
|
|
.word BossDodongo_Init
|
|
|
|
.word BossDodongo_Destroy
|
|
|
|
.word BossDodongo_Update
|
|
|
|
.word BossDodongo_Draw
|
|
|
|
glabel D_808C7000
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000101, 0x01000000, 0x01000000, 0x01010100, 0x00000001, 0x01010000, 0x01000001, 0x01010101, 0x00000001, 0x01010100, 0x00010101, 0x01010101, 0x01000000, 0x01010101, 0x00000101, 0x01010100, 0x00000100, 0x00010101, 0x00000101, 0x01010000, 0x00010101, 0x01000001, 0x00000101, 0x00000000, 0x01010101, 0x01000000, 0x00010100, 0x01010001, 0x01010101, 0x01010000, 0x00000101, 0x00000101, 0x01010101, 0x01010000, 0x00000101, 0x01000101, 0x01010101, 0x01000001, 0x00000101, 0x01000001, 0x01010101, 0x01010100, 0x01000001, 0x01000000, 0x01010101, 0x01000000, 0x00010000, 0x01010000, 0x01010101, 0x00000000, 0x00010101, 0x00000100, 0x00000100, 0x00000100, 0x01010101, 0x01010000, 0x01010001, 0x01010000, 0x00000101, 0x00000000, 0x00010101, 0x00000000
|
|
|
|
glabel D_808C7100
|
|
|
|
.word 0x03000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x07002134, 0x04B00000, 0x00280064, 0x03000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x210007D0, 0xF8300000, 0x003C0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x01000000, 0x00000000, 0x003C0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x0F000000, 0x00000000, 0x00140064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x10000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x11000000, 0x00000000, 0x00280064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x16000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x17000000, 0x00000000, 0x00140064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x18000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x1D000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x1E000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x1F000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x20000000, 0x00000000, 0x00320064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x26000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x27000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x28000000, 0x00000000, 0x00280064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x2D000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x2E000000, 0x00000000, 0x001E0064, 0x02000000, 0xFFCFFFFF, 0x00040000, 0xFFCFFFFF, 0x00000000, 0x01010100, 0x2F000000, 0x00000000, 0x00280064
|
|
|
|
glabel D_808C73AC
|
|
|
|
.word 0x03110909, 0x10000000, 0x00000013
|
|
|
|
.word D_808C7100
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808C73C8
|
|
|
|
.word 0x68835107, 0x51073001, 0x40835147, 0x48C54905, 0x49033881, 0x61C959C9, 0x58C16901, 0x81C58185, 0x68C16901, 0x9A8B8A07, 0x49054103, 0x28015145, 0x92097903, 0x88817841, 0x9841A801, 0xA0019841, 0x60C578C5, 0xB905B945, 0xEAD1B24D, 0x8103B9C3, 0xCAC5D307, 0xEBCBCAC5, 0x90418081, 0xA1437081, 0x40012001, 0x394B3909, 0x10013841, 0x38013043, 0x40416801, 0xC001D001, 0xC001A001, 0x88017001, 0x788368C5, 0x7883A189, 0xBA4F6907, 0x4841A1C7, 0xC2CFBA8D, 0xA2079101, 0xD001E001, 0xD801C801, 0xC8017043, 0x58C75085, 0x30016801, 0x90818001, 0x9001B801, 0xA801A001, 0xA8019041, 0x80417843, 0x98838083, 0x88C5B20F, 0xBA516907, 0x4801B20B, 0xC28D9945, 0x80C19081, 0xD801B801, 0x90019001, 0xC001C001, 0xC041C041, 0xA801C001, 0xD801E801, 0xE801E8C3, 0xD903C881, 0xE145D903, 0xB841B001, 0xB001A841, 0xA883B149, 0xD149C105, 0xB8C3C987, 0x90C39103, 0x9103A881, 0xD0019001, 0x58014001, 0xA041D801, 0xE001E001, 0xC801B801, 0xB041C8C3, 0xE185D9C7, 0xC985C185, 0xE28BEACD, 0xE1C7C081, 0xC041D001, 0xC801B801, 0x900198C5, 0xC947C145, 0x91039947, 0xB147D801, 0xB8018001, 0x58018841, 0xB081D903, 0xB8819081, 0x8883A041, 0x90019081, 0x89477105, 0x79476905, 0x60C38189, 0x79039081, 0xB001C801, 0xC801D001, 0xD0018001, 0x7083A0C5, 0xB9CBC1CB, 0xC107C801, 0xA0016801, 0x88C5B0C5, 0xD8C3D841, 0xB0019841, 0x80419801, 0xA001A905, 0x88C37905, 0x71075881, 0x60C37145, 0x70C39081, 0xB001A801, 0x98018801, 0xC001C801, 0xA001C001, 0xC801C801, 0xB801A001, 0x88017043, 0x9885A001, 0xC001C001, 0xC801C841, 0xB841C801, 0xC001B801, 0x90419105, 0x584160C3, 0x710760C3, 0x80C3A801, 0x9801C945, 0xDA07B187, 0xA0C3B801, 0xC001C801, 0x98018001, 0x8801B801, 0xD001B043, 0xB001C001, 0xC801D001, 0xD001D801, 0xE001E001, 0xD001B001, 0x98019107, 0x70C57989, 0x79498149, 0x8883A001, 0xA985D2C7, 0xD287C9C3, 0x81038841, 0x8001A947, 0x898B6883, 0x58018801, 0xD801D001, 0xC801C801, 0x98836043, 0x6801A001, 0xC801D801, 0xD001B001, 0xA0419107, 0x70C36883, 0x61076885, 0x98019041, 0xA145A145, 0x9903B101, 0x910388C3, 0xB183C249, 0xEA8BC985, 0xB8C1A8C1, 0xC041C001, 0xD001B8C5, 0xA1C991C7, 0x48018081, 0xA841B801, 0xE001B001, 0xA8018043, 0x60015001, 0x80859001, 0xA8018801, 0x68017001, 0x68017001, 0x99056843, 0x40019103, 0xEA09C1C3, 0xB141D143, 0xB883C801, 0xE001C985, 0xE2C97101, 0x20016105, 0x78C37801, 0xA0019001, 0xA801B001, 0xB801B001, 0xB001A801, 0xA8017801, 0x50414843, 0x28014001, 0x58C75001, 0x48017001, 0xA0C59081, 0x8081B187, 0xB105C801, 0xD001A881, 0xA1817881, 0x9181A2CF, 0x59454841, 0x99477907, 0x8843A001, 0xC801C801, 0xB801B841, 0xB105A947, 0xC245BA45, 0xBA43C283, 0xA9C370C1, 0x48016043, 0x90417801, 0x9841B103, 0xC185B881, 0xB001B801, 0x9101C281, 0xEC4BD38F, 0x69017143, 0xB209B981, 0x88819801, 0xC001B801, 0xB883EA8F, 0xBA07BA07, 0xCB07D349, 0xEC8BDBC7, 0xE3C7C241, 0x99816147, 0x38015801, 0x904390C3, 0xB985A0C1, 0xB801C001, 0x90815103, 0xBA87D2C5, 0xC201E309, 0xE2CBB981, 0xA1459841, 0xB801A841, 0xA907B20B, 0x71039205, 0x82058207, 0x69416101, 0x9A03C201, 0xEB4D81C9, 0x180158C7, 0x90438841, 0x90C1A101, 0xA081A001, 0xA8015801, 0x7141B245, 0xDAC7DAC9, 0xAA0768C1, 0x99CB9883, 0xC00190C5, 0x78C38147, 0x79036103, 0x79836941, 0x58C158C1, 0x59016101, 0xAA496105, 0x710550C7, 0x78017801, 0x8081B9C5, 0xA985C041, 0xD801B0C3, 0x99C78A09, 0x58C158C1, 0x58816041, 0xA1479801, 0xB0018883, 0x78818145, 0x81456143, 0x820779C5, 0x69836985, 0x928D7A09, 0xA1C79185, 0x79472843, 0x40017801, 0x70839103, 0xC983C801, 0xE001D001, 0x89058987, 0x714389C9, 0x81456083, 0x80417801, 0x904160C3, 0x790191C5, 0xB2479A49, 0x71836141, 0x69416141, 0x824B6945, 0x50817147, 0x598B3801, 0x38018885, 0x80016801, 0x8883B801, 0xD801D801, 0x60013801, 0x38014043, 0x40014801, 0x78018843, 0xA1459A09, 0xCA899A07, 0xC245AA47, 0x71416941, 0x69836143, 0x8A4D6103, 0x38017147, 0x518B2801, 0x484180C5, 0x78018001, 0x9843C001, 0xD801E001, 0x88017001, 0x70436801, 0x68017001, 0x8043B145, 0xB181D2C7, 0xCA878141, 0x81418141, 0x71836141, 0x7A076983, 0x820B6945, 0x4801798B, 0x598D2001, 0x6081B187, 0xA1018041, 0x8801B801, 0xD001D801, 0x88C370C3, 0x79477905, 0x70C58147, 0x70C38101, 0xB1C1D2C9, 0x91C38141, 0x898191C5, 0x61454905, 0x620D7185, 0x69436945, 0x50417989, 0x490918
|
|
|
|
glabel D_808C93C8
|
|
|
|
.word 0x48C5418B, 0x41CB2041, 0x314741CD, 0x394739C9, 0x39872901, 0x4A8F4A8F, 0x49415983, 0x6A496A47, 0x514159C1, 0x8B517B0D, 0x39C93985, 0x2041420B, 0x7A8D5945, 0x40C34041, 0x30412801, 0x28413001, 0x49495947, 0x48834105, 0x698B824D, 0x59456183, 0x8A47A309, 0xC3CD8A87, 0x404148C1, 0x510548C3, 0x38011843, 0x321129CF, 0x084130C1, 0x284120C7, 0x38853801, 0x28011801, 0x20012001, 0x38414001, 0x50C74947, 0x50C56149, 0x7A0F59CB, 0x388169CB, 0x9ACF92CF, 0x7A8B5103, 0x20011001, 0x20012001, 0x28014885, 0x494B414B, 0x20014041, 0x40413841, 0x30012001, 0x18012001, 0x20013043, 0x38414885, 0x388348C5, 0x50C7820F, 0x8A51518B, 0x388169C9, 0x7A0D5947, 0x51014081, 0x10011801, 0x30013001, 0x18011801, 0x20412801, 0x20012001, 0x18011001, 0x08010801, 0x18411041, 0x18032041, 0x18412001, 0x20012041, 0x30435109, 0x38853883, 0x28813885, 0x51034903, 0x59052841, 0x10013001, 0x40013001, 0x30410801, 0x08011001, 0x18011801, 0x20411843, 0x20413083, 0x308338C3, 0x51075147, 0x30832041, 0x10011001, 0x10011801, 0x30413885, 0x30832883, 0x50C55147, 0x40C51001, 0x20013801, 0x40834083, 0x20411001, 0x20413883, 0x40833043, 0x30014081, 0x59495987, 0x59CD5989, 0x49476A4D, 0x59854883, 0x18011001, 0x10011001, 0x20013001, 0x48C53885, 0x51075149, 0x28431801, 0x28014001, 0x48C73083, 0x10010841, 0x20012801, 0x40812801, 0x28013083, 0x51055949, 0x59894105, 0x51475987, 0x51454083, 0x18012001, 0x28013001, 0x18011801, 0x28011001, 0x20012001, 0x18012001, 0x30014085, 0x40832001, 0x10010801, 0x10011001, 0x18011001, 0x10011801, 0x38415107, 0x40815147, 0x59CB4905, 0x51052801, 0x30413043, 0x38C34105, 0x30832001, 0x18012001, 0x30013801, 0x30012001, 0x18012041, 0x18011801, 0x10011801, 0x18010801, 0x08010001, 0x08011801, 0x30015107, 0x5147620D, 0x69CD61CB, 0x40832801, 0x510569C5, 0x69C748C3, 0x51454881, 0x384140C5, 0x720F48C7, 0x38013841, 0x10010801, 0x08011001, 0x384348C5, 0x38013001, 0x10010001, 0x08011801, 0x28415909, 0x514548C5, 0x518B48C7, 0x38013041, 0x59455107, 0x510340C1, 0x50C55103, 0x51456189, 0x49053883, 0x30812841, 0x18010801, 0x08012843, 0x6A0B7A0B, 0x30414881, 0x28432001, 0x08012001, 0x28014085, 0x40413801, 0x50873001, 0x28013841, 0x40014843, 0x40014041, 0x50C54885, 0x30015105, 0x38C538C1, 0x38812883, 0x18011001, 0x08012083, 0x71875181, 0x180159C9, 0x51074041, 0x30013001, 0x28012001, 0x20012001, 0x20012001, 0x28014041, 0x388338C7, 0x20013043, 0x498B3845, 0x38014843, 0x40C53841, 0x48C348C5, 0x28831001, 0x10012841, 0x514150C1, 0x69C19B93, 0x49CB38C1, 0x61875149, 0x40832801, 0x10010801, 0x10012041, 0x30455945, 0x79C77205, 0x82077A45, 0x79C55141, 0x30014887, 0x40834001, 0x30413883, 0x38831841, 0x18012001, 0x49038A43, 0xDC8FBC13, 0x51815A05, 0x7A0B5101, 0x40813001, 0x10011001, 0x204140C7, 0x72096987, 0xA34BB38B, 0xE4D1CC4B, 0xCC0D69C1, 0x69C551CB, 0x28014001, 0x388348C3, 0x48C53883, 0x18412001, 0x40834185, 0x9AC98247, 0x69C37A07, 0x69894903, 0x51053041, 0x18012801, 0x38C56189, 0x59877A89, 0x72CB72CB, 0x5A035181, 0x7A456181, 0x8A4B728F, 0x1043514B, 0x38433841, 0x488140C1, 0x30812001, 0x30013801, 0x61C38AC9, 0x820771C9, 0x72095143, 0x6A0D3843, 0x200148C7, 0x510361CB, 0x59855187, 0x6A475A03, 0x49414981, 0x49814983, 0x8A8D51C9, 0x5987418D, 0x40014001, 0x48C15945, 0x49052001, 0x08013883, 0x7A4B7ACD, 0x49414941, 0x40C148C1, 0x59473001, 0x280148C5, 0x51016187, 0x6A0951C7, 0x72CB6A8B, 0x5A476247, 0x7B5372CF, 0x7A096189, 0x620B20C7, 0x38014001, 0x48C75103, 0x38C31001, 0x00012001, 0x51076A49, 0x6187724D, 0x69C94145, 0x48833801, 0x40414905, 0x61857209, 0x824982CB, 0x624751C1, 0x520351C3, 0x73115A09, 0x40C15A0B, 0x4A112881, 0x280150C7, 0x48434043, 0x38431801, 0x08011801, 0x38012801, 0x300130C7, 0x30013801, 0x40014043, 0x51057A4D, 0x7A497A49, 0x7A078A89, 0x620359C1, 0x5A4551C5, 0x7B535185, 0x280159CB, 0x4A0F1801, 0x38C35907, 0x40013843, 0x30031801, 0x00011001, 0x38014043, 0x48854001, 0x40014001, 0x488340C5, 0x51038207, 0x720769C3, 0x61C169C1, 0x624559C3, 0x62CB5A07, 0x72CF6209, 0x30416A0F, 0x4A511801, 0x49015947, 0x48C14041, 0x38411801, 0x08011001, 0x48C54905, 0x618B5989, 0x590759C9, 0x51055943, 0x69838249, 0x72456981, 0x6A037A87, 0x520939C9, 0x52D15A49, 0x59C759C9, 0x40C1620D, 0x41CD10
|
|
|
|
glabel D_808CA3C8
|
|
|
|
.word 0x801F0005, 0x8917000C, 0xB86CF448, 0x304C2008
|
|
|
|
glabel D_808CA3D8
|
|
|
|
.word 0xFFFF00FF
|
|
|
|
glabel D_808CA3DC
|
|
|
|
.word 0xFF0A00FF
|
|
|
|
glabel D_808CA3E0
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA3EC
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA3F8
|
|
|
|
.word 0xC4ADC000, 0x00000000, 0xC56DC000, 0xC4ADC000, 0x00000000, 0xC52F4000, 0xC3C30000, 0x00000000, 0xC52F4000, 0xC3C30000, 0x00000000, 0xC56DC000
|
|
|
|
glabel D_808CA428
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA434
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA440
|
|
|
|
.word 0xFFFF00FF, 0x00000096
|
|
|
|
glabel D_808CA448
|
|
|
|
.word 0xFF0000FF, 0x00000000
|
|
|
|
glabel D_808CA450
|
|
|
|
.word 0x459C4000, 0xC51C4000, 0x00000000
|
|
|
|
glabel D_808CA45C
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA468
|
|
|
|
.word 0x4633B000, 0xC53B8000, 0x00000000
|
|
|
|
glabel D_808CA474
|
|
|
|
.word 0x459C4000, 0xC4FA0000, 0x00000000
|
|
|
|
glabel D_808CA480
|
|
|
|
.word 0x45FA0000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA48C
|
|
|
|
.word 0x45FA0000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA498
|
|
|
|
.word 0xC3DC0000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC56AA000, 0xC4A78000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC5326000
|
|
|
|
glabel D_808CA4C8
|
|
|
|
.word 0xC45E8000, 0x00000000, 0xC5326000, 0xC3DC0000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC56AA000, 0xC4A78000, 0x00000000, 0xC54E8000
|
|
|
|
glabel D_808CA4F8
|
|
|
|
.word 0xFFFF00FF, 0x00000064
|
|
|
|
glabel D_808CA500
|
|
|
|
.word 0xFF0000FF, 0x00000000
|
|
|
|
glabel D_808CA508
|
|
|
|
.word 0xC3C30000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC56DC000, 0xC4ADC000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC52F4000
|
|
|
|
glabel D_808CA538
|
|
|
|
.word 0xC45E8000, 0x00000000, 0xC52F4000, 0xC3C30000, 0x00000000, 0xC54E8000, 0xC45E8000, 0x00000000, 0xC56DC000, 0xC4ADC000, 0x00000000, 0xC54E8000
|
|
|
|
glabel D_808CA568
|
|
|
|
.word 0x00000064
|
|
|
|
glabel D_808CA56C
|
|
|
|
.word 0x00000000
|
|
|
|
glabel D_808CA570
|
|
|
|
.word 0x00000000, 0x00000000, 0x00000000
|
|
|
|
glabel D_808CA57C
|
|
|
|
.word 0x00000000, 0x3F800000, 0x00000000
|
|
|
|
glabel D_808CA588
|
|
|
|
.word 0xFFFF64FF
|
|
|
|
glabel D_808CA58C
|
|
|
|
.word 0xFF6400FF
|
|
|
|
glabel D_808CA590
|
|
|
|
.word 0xFF8000FF, 0x0000FFFF, 0x00FF0000, 0x00000000
|
|
|
|
|