; ; CreateParticlePopup::onCopySettings from 0x52f3bc to 0x52f454 (152 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R0-R8,LR} ; +0x0, 0x52f3bc MOV R7, R0 ; +0x4, 0x52f3c0 LDR R3, =(__stack_chk_guard_ptr - 0x52F3C8) ; +0x6, 0x52f3c2 ADD R3, PC; __stack_chk_guard_ptr ; +0x8, 0x52f3c4 LDR R3, [R3]; __stack_chk_guard ; +0xa, 0x52f3c6 LDR R2, [R3] ; +0xc, 0x52f3c8 MOV R6, R3 ; +0xe, 0x52f3ca STR R2, [SP,#0x10+var_4] ; +0x10, 0x52f3cc LDR.W R2, [R0,#0x1FC] ; +0x12, 0x52f3ce CBZ R2, loc_52F442 ; +0x16, 0x52f3d2 ADD R4, SP, #0x10+var_C ; +0x18, 0x52f3d4 ADD R5, SP, #0x10+var_8 ; +0x1a, 0x52f3d6 LDR.W R1, [R7,#0x20C]; cocos2d::CCParticleSystemQuad * ; +0x1c, 0x52f3d8 MOV R0, R4; this ; +0x20, 0x52f3dc BL _ZN11GameToolbox20saveParticleToStringEPN7cocos2d20CCParticleSystemQuadE; GameToolbox::saveParticleToString(cocos2d::CCParticleSystemQuad *) ; +0x22, 0x52f3de MOV R0, R5 ; +0x26, 0x52f3e2 MOV R1, R4 ; +0x28, 0x52f3e4 LDR.W R8, [R7,#0x1FC] ; +0x2a, 0x52f3e6 BL sub_775C20 ; +0x2e, 0x52f3ea MOV R0, R8 ; +0x32, 0x52f3ee MOV R1, R5 ; +0x34, 0x52f3f0 BL _ZN18ParticleGameObject17setParticleStringESs; ParticleGameObject::setParticleString(std::string) ; +0x36, 0x52f3f2 MOV R0, R5 ; +0x3a, 0x52f3f6 BL sub_774008 ; +0x3c, 0x52f3f8 LDR.W R3, [R7,#0x20C] ; +0x40, 0x52f3fc LDRB.W R2, [R3,#0x284] ; +0x44, 0x52f400 LDR.W R3, [R7,#0x1FC] ; +0x48, 0x52f404 STRB.W R2, [R3,#0x600] ; +0x4c, 0x52f408 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x50, 0x52f40c LDR.W R3, [R0,#0x170] ; +0x54, 0x52f410 CBNZ R3, loc_52F41E ; +0x58, 0x52f414 MOV R0, R4 ; +0x5a, 0x52f416 BL sub_774008 ; +0x5c, 0x52f418 B loc_52F442 ; +0x60, 0x52f41c BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x62, 0x52f41e LDR.W R0, [R0,#0x170]; this ; +0x66, 0x52f422 LDR.W R1, [R7,#0x1FC]; ParticleGameObject * ; +0x6a, 0x52f426 BL _ZN16LevelEditorLayer17copyParticleStateEP18ParticleGameObject; LevelEditorLayer::copyParticleState(ParticleGameObject *) ; +0x6e, 0x52f42a B loc_52F416 ; +0x72, 0x52f42e MOV R0, R5 ; +0x74, 0x52f430 BL sub_774008 ; +0x76, 0x52f432 B loc_52F438 ; +0x7a, 0x52f436 MOV R0, R4 ; +0x7c, 0x52f438 BL sub_774008 ; +0x7e, 0x52f43a BL __cxa_end_cleanup ; +0x82, 0x52f43e LDR R2, [SP,#0x10+var_4] ; +0x86, 0x52f442 LDR R3, [R6] ; +0x88, 0x52f444 CMP R2, R3 ; +0x8a, 0x52f446 BEQ loc_52F44E ; +0x8c, 0x52f448 BLX __stack_chk_fail ; +0x8e, 0x52f44a ADD SP, SP, #0x10 ; +0x92, 0x52f44e POP.W {R4-R8,PC} ; +0x94, 0x52f450