; ; CreateParticlePopup::onClose from 0x665d98 to 0x665e72 (218 bytes) ; ; 1 xrefs: ; > CreateParticlePopup::keyBackClicked @ 0x665e7a ; ; 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:40 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x665d98 SUB SP, SP, #0x14 ; +0x4, 0x665d9c LDR R7, =(__stack_chk_guard_ptr - 0x665DA6) ; +0x6, 0x665d9e MOV R4, R0 ; +0x8, 0x665da0 ADD R7, PC; __stack_chk_guard_ptr ; +0xa, 0x665da2 LDR R7, [R7]; __stack_chk_guard ; +0xc, 0x665da4 LDR R3, [R7] ; +0xe, 0x665da6 STR R3, [SP,#0x14+var_8] ; +0x10, 0x665da8 BL _ZN19CreateParticlePopup9willCloseEv; CreateParticlePopup::willClose(void) ; +0x12, 0x665daa LDR.W R5, [R4,#0x210] ; +0x16, 0x665dae CBZ R5, loc_665DF4 ; +0x1a, 0x665db2 MOV R0, SP; this ; +0x1c, 0x665db4 LDR.W R1, [R4,#0x220]; cocos2d::CCParticleSystemQuad * ; +0x1e, 0x665db6 BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x22, 0x665dba MOV R0, R5 ; +0x26, 0x665dbe MOV R1, SP ; +0x28, 0x665dc0 MOV R6, SP ; +0x2a, 0x665dc2 BL _ZN18ParticleGameObject17setParticleStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; ParticleGameObject::setParticleString(std::string) ; +0x2c, 0x665dc4 MOV R0, SP ; +0x30, 0x665dc8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x32, 0x665dca LDR.W R3, [R4,#0x210] ; +0x36, 0x665dce LDR.W R2, [R4,#0x2BC] ; +0x3a, 0x665dd2 STR.W R2, [R3,#0x61C] ; +0x3e, 0x665dd6 LDR.W R2, [R4,#0x220] ; +0x42, 0x665dda LDR.W R3, [R4,#0x210] ; +0x46, 0x665dde LDRB.W R2, [R2,#0x290] ; +0x4a, 0x665de2 STRB.W R2, [R3,#0x618] ; +0x4e, 0x665de6 LDR.W R0, [R4,#0x210]; this ; +0x52, 0x665dea BL _ZN18ParticleGameObject14updateParticleEv; ParticleGameObject::updateParticle(void) ; +0x56, 0x665dee B loc_665E48 ; +0x5a, 0x665df2 LDR.W R3, [R4,#0x214] ; +0x5c, 0x665df4 CBZ R3, loc_665E48 ; +0x60, 0x665df8 MOV R6, SP ; +0x62, 0x665dfa LDR.W R0, [R4,#0x214]; this ; +0x64, 0x665dfc BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x68, 0x665e00 CMP R5, R0 ; +0x6c, 0x665e04 BCS loc_665E48 ; +0x6e, 0x665e06 MOV R1, R5; unsigned int ; +0x70, 0x665e08 LDR.W R0, [R4,#0x214]; this ; +0x72, 0x665e0a BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x76, 0x665e0e MOV R1, R5; unsigned int ; +0x7a, 0x665e12 MOV R8, R0 ; +0x7c, 0x665e14 LDR.W R0, [R4,#0x218]; this ; +0x7e, 0x665e16 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x82, 0x665e1a MOV R9, R0 ; +0x86, 0x665e1e MOV R0, R6; this ; +0x88, 0x665e20 MOV R1, R9; cocos2d::CCParticleSystemQuad * ; +0x8a, 0x665e22 BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x8c, 0x665e24 MOV R0, R8 ; +0x90, 0x665e28 MOV R1, R6 ; +0x92, 0x665e2a BL _ZN18ParticleGameObject17setParticleStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; ParticleGameObject::setParticleString(std::string) ; +0x94, 0x665e2c MOV R0, R6 ; +0x98, 0x665e30 ADDS R5, #1 ; +0x9a, 0x665e32 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x9c, 0x665e34 LDRB.W R3, [R9,#0x290] ; +0xa0, 0x665e38 MOV R0, R8; this ; +0xa4, 0x665e3c STRB.W R3, [R8,#0x618] ; +0xa6, 0x665e3e BL _ZN18ParticleGameObject14updateParticleEv; ParticleGameObject::updateParticle(void) ; +0xaa, 0x665e42 B loc_665DFC ; +0xae, 0x665e46 LDR R3, [R4] ; +0xb0, 0x665e48 MOV R0, R4 ; +0xb2, 0x665e4a MOVS R1, #1 ; +0xb4, 0x665e4c LDR.W R3, [R3,#0x108] ; +0xb6, 0x665e4e BLX R3 ; +0xba, 0x665e52 LDR R2, [SP,#0x14+var_8] ; +0xbc, 0x665e54 LDR R3, [R7] ; +0xbe, 0x665e56 CMP R2, R3 ; +0xc0, 0x665e58 BEQ loc_665E6C ; +0xc2, 0x665e5a BLX __stack_chk_fail ; +0xc4, 0x665e5c B loc_665E62 ; +0xc8, 0x665e60 MOV R0, R6 ; +0xca, 0x665e62 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xcc, 0x665e64 BL __cxa_end_cleanup ; +0xd0, 0x665e68 ADD SP, SP, #0x14 ; +0xd4, 0x665e6c POP.W {R4-R9,PC} ; +0xd6, 0x665e6e