; ; CreateParticlePopup::onClose from 0xaff368 to 0xaff4d4 (364 bytes) ; ; 4 xrefs: ; > CreateParticlePopup::keyBackClicked @ 0xaff4d8 ; > @ 0x704c8 ; > CreateParticlePopup::init @ 0xb01944 ; > @ 0x1542ce0 ; ; 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,#var_70]! ; +0x0, 0xaff368 MOV X29, SP ; +0x4, 0xaff36c STP X23, X24, [SP,#0x70+var_40] ; +0x8, 0xaff370 ADRP X24, #__stack_chk_guard_ptr@PAGE ; +0xc, 0xaff374 STP X19, X20, [SP,#0x70+var_60] ; +0x10, 0xaff378 STP X21, X22, [SP,#0x70+var_50] ; +0x14, 0xaff37c LDR X1, [X24,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xaff380 MOV X20, X0 ; +0x1c, 0xaff384 LDR X1, [X1] ; +0x20, 0xaff388 STR X1, [X29,#0x70+var_8] ; +0x24, 0xaff38c BL _ZN19CreateParticlePopup9willCloseEv; CreateParticlePopup::willClose(void) ; +0x28, 0xaff390 LDR X19, [X20,#0x2A8] ; +0x2c, 0xaff394 CBZ X19, loc_AFF430 ; +0x30, 0xaff398 ADD X1, X29, #0x70+var_20; cocos2d::CCParticleSystemQuad * ; +0x34, 0xaff39c LDR X0, [X20,#0x2C8]; this ; +0x38, 0xaff3a0 MOV X8, X1 ; +0x3c, 0xaff3a4 STR X1, [X29,#0x70+var_28] ; +0x40, 0xaff3a8 BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x44, 0xaff3ac LDR X1, [X29,#0x70+var_28] ; +0x48, 0xaff3b0 MOV X0, X19 ; +0x4c, 0xaff3b4 BL _ZN18ParticleGameObject17setParticleStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; ParticleGameObject::setParticleString(std::string) ; +0x50, 0xaff3b8 LDRB W0, [X29,#0x70+var_20] ; +0x54, 0xaff3bc TBNZ W0, #0, loc_AFF424 ; +0x58, 0xaff3c0 LDR X0, [X20,#0x2A8] ; +0x5c, 0xaff3c4 LDR W1, [X20,#0x3E4] ; +0x60, 0xaff3c8 STR W1, [X0,#0x6EC] ; +0x64, 0xaff3cc LDR X1, [X20,#0x2C8] ; +0x68, 0xaff3d0 LDR X0, [X20,#0x2A8] ; +0x6c, 0xaff3d4 LDRB W1, [X1,#0x2E4] ; +0x70, 0xaff3d8 STRB W1, [X0,#0x6E8] ; +0x74, 0xaff3dc LDR X0, [X20,#0x2A8]; this ; +0x78, 0xaff3e0 BL _ZN18ParticleGameObject14updateParticleEv; ParticleGameObject::updateParticle(void) ; +0x7c, 0xaff3e4 LDR X2, [X20] ; +0x80, 0xaff3e8 MOV X0, X20 ; +0x84, 0xaff3ec MOV W1, #1 ; +0x88, 0xaff3f0 LDR X2, [X2,#0x210] ; +0x8c, 0xaff3f4 BLR X2 ; +0x90, 0xaff3f8 LDR X24, [X24,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x94, 0xaff3fc LDR X1, [X29,#0x70+var_8] ; +0x98, 0xaff400 LDR X0, [X24] ; +0x9c, 0xaff404 CMP X1, X0 ; +0xa0, 0xaff408 B.NE loc_AFF4B0 ; +0xa4, 0xaff40c LDP X19, X20, [SP,#0x70+var_60] ; +0xa8, 0xaff410 LDP X21, X22, [SP,#0x70+var_50] ; +0xac, 0xaff414 LDP X23, X24, [SP,#0x70+var_40] ; +0xb0, 0xaff418 LDP X29, X30, [SP+0x70+var_70],#0x70 ; +0xb4, 0xaff41c RET ; +0xb8, 0xaff420 LDR X0, [X29,#0x70+var_10]; void * ; +0xbc, 0xaff424 BL _ZdlPv; operator delete(void *) ; +0xc0, 0xaff428 B loc_AFF3C4 ; +0xc4, 0xaff42c LDR X0, [X20,#0x2B0] ; +0xc8, 0xaff430 CBZ X0, loc_AFF3E8 ; +0xcc, 0xaff434 MOV W19, #0 ; +0xd0, 0xaff438 ADD X22, X29, #0x70+var_20 ; +0xd4, 0xaff43c B loc_AFF45C ; +0xd8, 0xaff440 LDRB W1, [X23,#0x2E4] ; +0xdc, 0xaff444 MOV X0, X21; this ; +0xe0, 0xaff448 STRB W1, [X21,#0x6E8] ; +0xe4, 0xaff44c ADD W19, W19, #1 ; +0xe8, 0xaff450 BL _ZN18ParticleGameObject14updateParticleEv; ParticleGameObject::updateParticle(void) ; +0xec, 0xaff454 LDR X0, [X20,#0x2B0]; this ; +0xf0, 0xaff458 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xf4, 0xaff45c CMP W19, W0 ; +0xf8, 0xaff460 B.CS loc_AFF3E8 ; +0xfc, 0xaff464 LDR X0, [X20,#0x2B0]; this ; +0x100, 0xaff468 MOV W1, W19; unsigned int ; +0x104, 0xaff46c BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x108, 0xaff470 MOV X21, X0 ; +0x10c, 0xaff474 LDR X0, [X20,#0x2B8]; this ; +0x110, 0xaff478 MOV W1, W19; unsigned int ; +0x114, 0xaff47c BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x118, 0xaff480 MOV X23, X0 ; +0x11c, 0xaff484 MOV X8, X22 ; +0x120, 0xaff488 BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x124, 0xaff48c MOV X0, X21 ; +0x128, 0xaff490 MOV X1, X22 ; +0x12c, 0xaff494 BL _ZN18ParticleGameObject17setParticleStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; ParticleGameObject::setParticleString(std::string) ; +0x130, 0xaff498 LDRB W0, [X22] ; +0x134, 0xaff49c TBZ W0, #0, loc_AFF444 ; +0x138, 0xaff4a0 LDR X0, [X22,#0x10]; void * ; +0x13c, 0xaff4a4 BL _ZdlPv; operator delete(void *) ; +0x140, 0xaff4a8 B loc_AFF444 ; +0x144, 0xaff4ac BL .__stack_chk_fail ; +0x148, 0xaff4b0 LDRB W1, [X29,#0x70+var_20] ; +0x14c, 0xaff4b4 MOV X19, X0 ; +0x150, 0xaff4b8 TBZ W1, #0, loc_AFF4C8 ; +0x154, 0xaff4bc LDR X0, [X29,#0x70+var_10]; void * ; +0x158, 0xaff4c0 BL _ZdlPv; operator delete(void *) ; +0x15c, 0xaff4c4 MOV X0, X19 ; +0x160, 0xaff4c8 BL _Unwind_Resume ; +0x164, 0xaff4cc B loc_AFF4B4 ; +0x168, 0xaff4d0