; ; CreateParticlePopup::onPage from 0xaff08c to 0xaff29c (528 bytes) ; ; 4 xrefs: ; > CreateParticlePopup::init @ 0xb01e7c ; > @ 0xe0140 ; > CreateParticlePopup::init @ 0xb021bc ; > @ 0x1546bb0 ; ; 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:19 +0000 ; STP X29, X30, [SP,#-0x40+var_s0]! ; +0x0, 0xaff08c MOV X29, SP ; +0x4, 0xaff090 STP X21, X22, [SP,#var_s20] ; +0x8, 0xaff094 STP X19, X20, [SP,#var_s10] ; +0xc, 0xaff098 STP X23, X24, [SP,#var_s30] ; +0x10, 0xaff09c MOV X21, X0 ; +0x14, 0xaff0a0 CBZ X1, loc_AFF0BC ; +0x18, 0xaff0a4 LDR X2, [X1] ; +0x1c, 0xaff0a8 MOV X0, X1 ; +0x20, 0xaff0ac LDR X1, [X2,#0x40] ; +0x24, 0xaff0b0 BLR X1 ; +0x28, 0xaff0b4 STR W0, [X21,#0x3E4] ; +0x2c, 0xaff0b8 ADRP X24, #aGjButton01Png@PAGE; "GJ_button_01.png" ; +0x30, 0xaff0bc ADRP X23, #aGjButton04Png@PAGE; "GJ_button_04.png" ; +0x34, 0xaff0c0 MOV W19, #1 ; +0x38, 0xaff0c4 ADD X24, X24, #aGjButton01Png@PAGEOFF; "GJ_button_01.png" ; +0x3c, 0xaff0c8 ADD X23, X23, #aGjButton04Png@PAGEOFF; "GJ_button_04.png" ; +0x40, 0xaff0cc MOV W1, W19; int ; +0x44, 0xaff0d0 MOV X0, X21; this ; +0x48, 0xaff0d4 BL _ZN19CreateParticlePopup7getPageEi; CreateParticlePopup::getPage(int) ; +0x4c, 0xaff0d8 LDR X2, [X0] ; +0x50, 0xaff0dc LDR W1, [X21,#0x3E4] ; +0x54, 0xaff0e0 LDR X2, [X2,#0x158] ; +0x58, 0xaff0e4 CMP W1, W19 ; +0x5c, 0xaff0e8 CSET W1, EQ ; +0x60, 0xaff0ec BLR X2 ; +0x64, 0xaff0f0 MOV W1, W19; int ; +0x68, 0xaff0f4 MOV X0, X21; this ; +0x6c, 0xaff0f8 BL _ZN19CreateParticlePopup13getPageButtonEi; CreateParticlePopup::getPageButton(int) ; +0x70, 0xaff0fc LDR X1, [X0] ; +0x74, 0xaff100 LDR X1, [X1,#0x430] ; +0x78, 0xaff104 BLR X1 ; +0x7c, 0xaff108 LDR W1, [X21,#0x3E4] ; +0x80, 0xaff10c CMP W1, W19 ; +0x84, 0xaff110 CSEL X1, X24, X23, EQ; char * ; +0x88, 0xaff114 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x8c, 0xaff118 MOV X0, X21; this ; +0x90, 0xaff11c MOV W1, W19; int ; +0x94, 0xaff120 BL _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x98, 0xaff124 CBZ X0, loc_AFF188 ; +0x9c, 0xaff128 LDR X0, [X0,#0x38] ; +0xa0, 0xaff12c CBZ X0, loc_AFF188 ; +0xa4, 0xaff130 LDR X22, [X0,#0x120] ; +0xa8, 0xaff134 LDR X20, [X0,#0x108] ; +0xac, 0xaff138 LDR W1, [X21,#0x3E4] ; +0xb0, 0xaff13c MOV X0, X20 ; +0xb4, 0xaff140 LDR X2, [X20] ; +0xb8, 0xaff144 CMP W1, W19 ; +0xbc, 0xaff148 CSET W1, EQ ; +0xc0, 0xaff14c LDR X2, [X2,#0x3E8] ; +0xc4, 0xaff150 BLR X2 ; +0xc8, 0xaff154 LDR W2, [X21,#0x3E4] ; +0xcc, 0xaff158 MOV X0, X20 ; +0xd0, 0xaff15c MOV W1, #0 ; +0xd4, 0xaff160 CMP W2, W19 ; +0xd8, 0xaff164 B.EQ loc_AFF178 ; +0xdc, 0xaff168 LDR X2, [X20] ; +0xe0, 0xaff16c LDR X2, [X2,#0x488] ; +0xe4, 0xaff170 BLR X2 ; +0xe8, 0xaff174 CBZ X22, loc_AFF188 ; +0xec, 0xaff178 MOV X0, X22 ; +0xf0, 0xaff17c LDR X22, [X22,#0x120] ; +0xf4, 0xaff180 B loc_AFF138 ; +0xf8, 0xaff184 MOV X0, X21; this ; +0xfc, 0xaff188 MOV W1, W19; int ; +0x100, 0xaff18c BL _ZN19CreateParticlePopup14getPageSlidersEi; CreateParticlePopup::getPageSliders(int) ; +0x104, 0xaff190 CBZ X0, loc_AFF1D4 ; +0x108, 0xaff194 LDR X0, [X0,#0x38] ; +0x10c, 0xaff198 CBZ X0, loc_AFF1D4 ; +0x110, 0xaff19c LDR X20, [X0,#0x120] ; +0x114, 0xaff1a0 B loc_AFF1AC ; +0x118, 0xaff1a4 LDR X20, [X20,#0x120] ; +0x11c, 0xaff1a8 LDR X1, [X0,#0x108] ; +0x120, 0xaff1ac LDR W3, [X21,#0x3E4] ; +0x124, 0xaff1b0 MOV X0, X1 ; +0x128, 0xaff1b4 LDR X2, [X1] ; +0x12c, 0xaff1b8 CMP W3, W19 ; +0x130, 0xaff1bc CSET W1, EQ ; +0x134, 0xaff1c0 LDR X2, [X2,#0x3E8] ; +0x138, 0xaff1c4 BLR X2 ; +0x13c, 0xaff1c8 MOV X0, X20 ; +0x140, 0xaff1cc CBNZ X20, loc_AFF1A8 ; +0x144, 0xaff1d0 MOV X0, X21; this ; +0x148, 0xaff1d4 MOV W1, W19; int ; +0x14c, 0xaff1d8 MOV W20, #0 ; +0x150, 0xaff1dc BL _ZN19CreateParticlePopup16getPageContainerEi; CreateParticlePopup::getPageContainer(int) ; +0x154, 0xaff1e0 MOV X22, X0 ; +0x158, 0xaff1e4 B loc_AFF208 ; +0x15c, 0xaff1e8 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x160, 0xaff1ec LDR X2, [X0] ; +0x164, 0xaff1f0 LDR W1, [X21,#0x3E4] ; +0x168, 0xaff1f4 LDR X2, [X2,#0x158] ; +0x16c, 0xaff1f8 CMP W1, W19 ; +0x170, 0xaff1fc CSET W1, EQ ; +0x174, 0xaff200 BLR X2 ; +0x178, 0xaff204 MOV X0, X22; this ; +0x17c, 0xaff208 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x180, 0xaff20c CMP W20, W0 ; +0x184, 0xaff210 MOV W1, W20; unsigned int ; +0x188, 0xaff214 MOV X0, X22; this ; +0x18c, 0xaff218 ADD W20, W20, #1 ; +0x190, 0xaff21c B.CC loc_AFF1EC ; +0x194, 0xaff220 ADD W19, W19, #1 ; +0x198, 0xaff224 CMP W19, #5 ; +0x19c, 0xaff228 B.NE loc_AFF0D0 ; +0x1a0, 0xaff22c LDR W0, [X21,#0x3E4] ; +0x1a4, 0xaff230 CMP W0, #1 ; +0x1a8, 0xaff234 B.EQ loc_AFF270 ; +0x1ac, 0xaff238 CMP W0, #4 ; +0x1b0, 0xaff23c B.EQ loc_AFF258 ; +0x1b4, 0xaff240 LDP X19, X20, [SP,#var_s10] ; +0x1b8, 0xaff244 LDP X21, X22, [SP,#var_s20] ; +0x1bc, 0xaff248 LDP X23, X24, [SP,#var_s30] ; +0x1c0, 0xaff24c LDP X29, X30, [SP+var_s0],#0x40 ; +0x1c4, 0xaff250 RET ; +0x1c8, 0xaff254 MOV X0, X21; this ; +0x1cc, 0xaff258 LDP X19, X20, [SP,#var_s10] ; +0x1d0, 0xaff25c LDP X21, X22, [SP,#var_s20] ; +0x1d4, 0xaff260 LDP X23, X24, [SP,#var_s30] ; +0x1d8, 0xaff264 LDP X29, X30, [SP+var_s0],#0x40 ; +0x1dc, 0xaff268 B _ZN19CreateParticlePopup16applyTexturePageEv; CreateParticlePopup::applyTexturePage(void) ; +0x1e0, 0xaff26c LDR X1, [X21,#0x2C8] ; +0x1e4, 0xaff270 MOV X0, X1 ; +0x1e8, 0xaff274 LDR X1, [X1] ; +0x1ec, 0xaff278 LDR X1, [X1,#0x638] ; +0x1f0, 0xaff27c BLR X1 ; +0x1f4, 0xaff280 CMP W0, WZR ; +0x1f8, 0xaff284 CSET W1, EQ; bool ; +0x1fc, 0xaff288 MOV X0, X21; this ; +0x200, 0xaff28c BL _ZN19CreateParticlePopup17toggleGravityModeEb; CreateParticlePopup::toggleGravityMode(bool) ; +0x204, 0xaff290 LDR W0, [X21,#0x3E4] ; +0x208, 0xaff294 B loc_AFF23C ; +0x20c, 0xaff298