; ; CreateParticlePopup::onCopySettings from 0x6663b0 to 0x66644a (154 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:40 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x6663BA) ; +0x0, 0x6663b0 PUSH.W {R4-R8,LR} ; +0x2, 0x6663b2 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x6663b6 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x6663b8 SUB SP, SP, #0x20 ; +0xa, 0x6663ba MOV R7, R0 ; +0xc, 0x6663bc LDR R2, [R3] ; +0xe, 0x6663be MOV R6, R3 ; +0x10, 0x6663c0 STR R2, [SP,#0x20+var_4] ; +0x12, 0x6663c2 LDR.W R2, [R0,#0x210] ; +0x14, 0x6663c4 CBZ R2, loc_666438 ; +0x18, 0x6663c8 ADD R4, SP, #0x20+var_1C ; +0x1a, 0x6663ca ADD R5, SP, #0x20+var_10 ; +0x1c, 0x6663cc LDR.W R1, [R7,#0x220]; cocos2d::CCParticleSystemQuad * ; +0x1e, 0x6663ce MOV R0, R4; this ; +0x22, 0x6663d2 BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x24, 0x6663d4 MOV R0, R5 ; +0x28, 0x6663d8 MOV R1, R4 ; +0x2a, 0x6663da LDR.W R8, [R7,#0x210] ; +0x2c, 0x6663dc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x30, 0x6663e0 MOV R0, R8 ; +0x34, 0x6663e4 MOV R1, R5 ; +0x36, 0x6663e6 BL _ZN18ParticleGameObject17setParticleStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; ParticleGameObject::setParticleString(std::string) ; +0x38, 0x6663e8 MOV R0, R5 ; +0x3c, 0x6663ec BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x3e, 0x6663ee LDR.W R2, [R7,#0x220] ; +0x42, 0x6663f2 LDR.W R3, [R7,#0x210] ; +0x46, 0x6663f6 LDRB.W R2, [R2,#0x290] ; +0x4a, 0x6663fa STRB.W R2, [R3,#0x618] ; +0x4e, 0x6663fe BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x52, 0x666402 LDR.W R3, [R0,#0x198] ; +0x56, 0x666406 CBNZ R3, loc_666414 ; +0x5a, 0x66640a MOV R0, R4 ; +0x5c, 0x66640c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5e, 0x66640e B loc_666438 ; +0x62, 0x666412 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x64, 0x666414 LDR.W R0, [R0,#0x198]; this ; +0x68, 0x666418 LDR.W R1, [R7,#0x210]; ParticleGameObject * ; +0x6c, 0x66641c BL _ZN16LevelEditorLayer17copyParticleStateEP18ParticleGameObject; LevelEditorLayer::copyParticleState(ParticleGameObject *) ; +0x70, 0x666420 B loc_66640C ; +0x74, 0x666424 MOV R0, R5 ; +0x76, 0x666426 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x78, 0x666428 B loc_66642E ; +0x7c, 0x66642c MOV R0, R4 ; +0x7e, 0x66642e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x80, 0x666430 BL __cxa_end_cleanup ; +0x84, 0x666434 LDR R2, [SP,#0x20+var_4] ; +0x88, 0x666438 LDR R3, [R6] ; +0x8a, 0x66643a CMP R2, R3 ; +0x8c, 0x66643c BEQ loc_666444 ; +0x8e, 0x66643e BLX __stack_chk_fail ; +0x90, 0x666440 ADD SP, SP, #0x20 ; ' ' ; +0x94, 0x666444 POP.W {R4-R8,PC} ; +0x96, 0x666446