; ; CreateParticlePopup::onMode from 0xafc518 to 0xafc608 (240 bytes) ; ; 3 xrefs: ; > @ 0xbe048 ; > CreateParticlePopup::init @ 0xb01b90 ; > @ 0x1545828 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 13:01:18 +0000 ; STP X29, X30, [SP,#var_20]! ; +0x0, 0xafc518 MOV X29, SP ; +0x4, 0xafc51c STR X19, [SP,#0x20+var_10] ; +0x8, 0xafc520 MOV X19, X0 ; +0xc, 0xafc524 MOV X0, X1 ; +0x10, 0xafc528 LDR X1, [X1] ; +0x14, 0xafc52c LDR X1, [X1,#0x40] ; +0x18, 0xafc530 BLR X1 ; +0x1c, 0xafc534 LDR W2, [X19,#0x33C] ; +0x20, 0xafc538 LDR X1, [X19,#0x318] ; +0x24, 0xafc53c CMP W2, W0 ; +0x28, 0xafc540 CSEL W0, W0, WZR, NE ; +0x2c, 0xafc544 STR W0, [X19,#0x33C] ; +0x30, 0xafc548 STR W0, [X1,#0x220] ; +0x34, 0xafc54c LDR X1, [X19,#0x320] ; +0x38, 0xafc550 MOV X0, X1 ; +0x3c, 0xafc554 LDR X1, [X1] ; +0x40, 0xafc558 LDR X1, [X1,#0x430] ; +0x44, 0xafc55c BLR X1 ; +0x48, 0xafc560 LDR W1, [X19,#0x33C] ; +0x4c, 0xafc564 CMP W1, #1 ; +0x50, 0xafc568 B.EQ loc_AFC5DC ; +0x54, 0xafc56c ADRL X1, aGjButton04Png; "GJ_button_04.png" ; +0x58, 0xafc570 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x60, 0xafc578 LDR X1, [X19,#0x328] ; +0x64, 0xafc57c MOV X0, X1 ; +0x68, 0xafc580 LDR X1, [X1] ; +0x6c, 0xafc584 LDR X1, [X1,#0x430] ; +0x70, 0xafc588 BLR X1 ; +0x74, 0xafc58c LDR W1, [X19,#0x33C] ; +0x78, 0xafc590 CMP W1, #2 ; +0x7c, 0xafc594 B.EQ loc_AFC5E8 ; +0x80, 0xafc598 ADRL X1, aGjButton04Png; "GJ_button_04.png" ; +0x84, 0xafc59c BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x8c, 0xafc5a4 LDR X1, [X19,#0x330] ; +0x90, 0xafc5a8 MOV X0, X1 ; +0x94, 0xafc5ac LDR X1, [X1] ; +0x98, 0xafc5b0 LDR X1, [X1,#0x430] ; +0x9c, 0xafc5b4 BLR X1 ; +0xa0, 0xafc5b8 LDR W1, [X19,#0x33C] ; +0xa4, 0xafc5bc CMP W1, #3 ; +0xa8, 0xafc5c0 B.EQ loc_AFC5F4 ; +0xac, 0xafc5c4 LDR X19, [SP,#0x20+var_10] ; +0xb0, 0xafc5c8 ADRP X1, #aGjButton04Png@PAGE; "GJ_button_04.png" ; +0xb4, 0xafc5cc LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0xb8, 0xafc5d0 ADD X1, X1, #aGjButton04Png@PAGEOFF; "GJ_button_04.png" ; +0xbc, 0xafc5d4 B _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0xc0, 0xafc5d8 ADRL X1, aGjButton01Png; "GJ_button_01.png" ; +0xc4, 0xafc5dc B loc_AFC578 ; +0xcc, 0xafc5e4 ADRL X1, aGjButton01Png; "GJ_button_01.png" ; +0xd0, 0xafc5e8 B loc_AFC5A4 ; +0xd8, 0xafc5f0 LDR X19, [SP,#0x20+var_10] ; +0xdc, 0xafc5f4 ADRP X1, #aGjButton01Png@PAGE; "GJ_button_01.png" ; +0xe0, 0xafc5f8 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0xe4, 0xafc5fc ADD X1, X1, #aGjButton01Png@PAGEOFF; "GJ_button_01.png" ; +0xe8, 0xafc600 B _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0xec, 0xafc604