; ; CreateParticlePopup::onMode from 0x52f458 to 0x52f4e4 (140 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDR R3, [R1] ; +0x0, 0x52f458 PUSH {R4,LR} ; +0x2, 0x52f45a MOV R4, R0 ; +0x4, 0x52f45c LDR R3, [R3,#0x20] ; +0x6, 0x52f45e MOV R0, R1 ; +0x8, 0x52f460 BLX R3 ; +0xa, 0x52f462 LDR.W R3, [R4,#0x24C] ; +0xc, 0x52f464 CMP R0, R3 ; +0x10, 0x52f468 IT EQ ; +0x12, 0x52f46a MOVEQ R0, #0 ; +0x14, 0x52f46c LDR.W R3, [R4,#0x238] ; +0x16, 0x52f46e STR.W R0, [R4,#0x24C] ; +0x1a, 0x52f472 STR.W R0, [R3,#0x1B8] ; +0x1e, 0x52f476 LDR.W R0, [R4,#0x23C] ; +0x22, 0x52f47a LDR R3, [R0] ; +0x26, 0x52f47e LDR.W R3, [R3,#0x210] ; +0x28, 0x52f480 BLX R3 ; +0x2c, 0x52f484 LDR.W R3, [R4,#0x24C] ; +0x2e, 0x52f486 CMP R3, #1 ; +0x32, 0x52f48a BEQ loc_52F494 ; +0x34, 0x52f48c LDR R1, =(aGjButton04Png - 0x52F494); "GJ_button_04.png" ; +0x36, 0x52f48e ADD R1, PC; "GJ_button_04.png" ; +0x38, 0x52f490 B loc_52F498 ; +0x3a, 0x52f492 LDR R1, =(aGjButton01Png - 0x52F49A); "GJ_button_01.png" ; +0x3c, 0x52f494 ADD R1, PC; "GJ_button_01.png" ; +0x3e, 0x52f496 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x40, 0x52f498 LDR.W R0, [R4,#0x240] ; +0x44, 0x52f49c LDR R3, [R0] ; +0x48, 0x52f4a0 LDR.W R3, [R3,#0x210] ; +0x4a, 0x52f4a2 BLX R3 ; +0x4e, 0x52f4a6 LDR.W R3, [R4,#0x24C] ; +0x50, 0x52f4a8 CMP R3, #2 ; +0x54, 0x52f4ac BEQ loc_52F4B6 ; +0x56, 0x52f4ae LDR R1, =(aGjButton04Png - 0x52F4B6); "GJ_button_04.png" ; +0x58, 0x52f4b0 ADD R1, PC; "GJ_button_04.png" ; +0x5a, 0x52f4b2 B loc_52F4BA ; +0x5c, 0x52f4b4 LDR R1, =(aGjButton01Png - 0x52F4BC); "GJ_button_01.png" ; +0x5e, 0x52f4b6 ADD R1, PC; "GJ_button_01.png" ; +0x60, 0x52f4b8 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x62, 0x52f4ba LDR.W R0, [R4,#0x244] ; +0x66, 0x52f4be LDR R3, [R0] ; +0x6a, 0x52f4c2 LDR.W R3, [R3,#0x210] ; +0x6c, 0x52f4c4 BLX R3 ; +0x70, 0x52f4c8 LDR.W R3, [R4,#0x24C] ; +0x72, 0x52f4ca CMP R3, #3 ; +0x76, 0x52f4ce BEQ loc_52F4D8 ; +0x78, 0x52f4d0 LDR R1, =(aGjButton04Png - 0x52F4D8); "GJ_button_04.png" ; +0x7a, 0x52f4d2 ADD R1, PC; "GJ_button_04.png" ; +0x7c, 0x52f4d4 B loc_52F4DC ; +0x7e, 0x52f4d6 LDR R1, =(aGjButton01Png - 0x52F4DE); "GJ_button_01.png" ; +0x80, 0x52f4d8 ADD R1, PC; "GJ_button_01.png" ; +0x82, 0x52f4da POP.W {R4,LR} ; +0x84, 0x52f4dc B.W _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x88, 0x52f4e0