; ; CreateParticlePopup::onMode from 0x663cc0 to 0x663d4c (140 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:55:39 +0000 ; PUSH {R4,LR} ; +0x0, 0x663cc0 MOV R4, R0 ; +0x2, 0x663cc2 LDR R3, [R1] ; +0x4, 0x663cc4 MOV R0, R1 ; +0x6, 0x663cc6 LDR R3, [R3,#0x20] ; +0x8, 0x663cc8 BLX R3 ; +0xa, 0x663cca LDR.W R3, [R4,#0x260] ; +0xc, 0x663ccc CMP R0, R3 ; +0x10, 0x663cd0 IT EQ ; +0x12, 0x663cd2 MOVEQ R0, #0 ; +0x14, 0x663cd4 LDR.W R3, [R4,#0x24C] ; +0x16, 0x663cd6 STR.W R0, [R4,#0x260] ; +0x1a, 0x663cda STR.W R0, [R3,#0x1B8] ; +0x1e, 0x663cde LDR.W R0, [R4,#0x250] ; +0x22, 0x663ce2 LDR R3, [R0] ; +0x26, 0x663ce6 LDR.W R3, [R3,#0x218] ; +0x28, 0x663ce8 BLX R3 ; +0x2c, 0x663cec LDR.W R3, [R4,#0x260] ; +0x2e, 0x663cee CMP R3, #1 ; +0x32, 0x663cf2 BEQ loc_663CFC ; +0x34, 0x663cf4 LDR R1, =(aGjButton04Png - 0x663CFC); "GJ_button_04.png" ; +0x36, 0x663cf6 ADD R1, PC; "GJ_button_04.png" ; +0x38, 0x663cf8 B loc_663D00 ; +0x3a, 0x663cfa LDR R1, =(aGjButton01Png - 0x663D02); "GJ_button_01.png" ; +0x3c, 0x663cfc ADD R1, PC; "GJ_button_01.png" ; +0x3e, 0x663cfe BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x40, 0x663d00 LDR.W R0, [R4,#0x254] ; +0x44, 0x663d04 LDR R3, [R0] ; +0x48, 0x663d08 LDR.W R3, [R3,#0x218] ; +0x4a, 0x663d0a BLX R3 ; +0x4e, 0x663d0e LDR.W R3, [R4,#0x260] ; +0x50, 0x663d10 CMP R3, #2 ; +0x54, 0x663d14 BEQ loc_663D1E ; +0x56, 0x663d16 LDR R1, =(aGjButton04Png - 0x663D1E); "GJ_button_04.png" ; +0x58, 0x663d18 ADD R1, PC; "GJ_button_04.png" ; +0x5a, 0x663d1a B loc_663D22 ; +0x5c, 0x663d1c LDR R1, =(aGjButton01Png - 0x663D24); "GJ_button_01.png" ; +0x5e, 0x663d1e ADD R1, PC; "GJ_button_01.png" ; +0x60, 0x663d20 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x62, 0x663d22 LDR.W R0, [R4,#0x258] ; +0x66, 0x663d26 LDR R3, [R0] ; +0x6a, 0x663d2a LDR.W R3, [R3,#0x218] ; +0x6c, 0x663d2c BLX R3 ; +0x70, 0x663d30 LDR.W R3, [R4,#0x260] ; +0x72, 0x663d32 CMP R3, #3 ; +0x76, 0x663d36 BEQ loc_663D40 ; +0x78, 0x663d38 LDR R1, =(aGjButton04Png - 0x663D40); "GJ_button_04.png" ; +0x7a, 0x663d3a ADD R1, PC; "GJ_button_04.png" ; +0x7c, 0x663d3c B loc_663D44 ; +0x7e, 0x663d3e LDR R1, =(aGjButton01Png - 0x663D46); "GJ_button_01.png" ; +0x80, 0x663d40 ADD R1, PC; "GJ_button_01.png" ; +0x82, 0x663d42 POP.W {R4,LR} ; +0x84, 0x663d44 B.W _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x88, 0x663d48