// // 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 // int __fastcall CreateParticlePopup::onCopySettings(int this, cocos2d::CCObject *a2) { int v2; // r7 int v3; // r8 GameManager *v4; // r0 GameManager *v5; // r0 int v6; // r0 int v7; // r2 int v8; // r3 _BYTE v9[12]; // [sp+4h] [bp-1Ch] BYREF int v10[3]; // [sp+10h] [bp-10h] BYREF v2 = this; if ( *(_DWORD *)(this + 528) ) { GameToolbox::saveParticleToString((GameToolbox *)v9, *(cocos2d::CCParticleSystemQuad **)(this + 544)); v3 = *(_DWORD *)(v2 + 528); std::string::basic_string(v10, (int)v9); ParticleGameObject::setParticleString(v3, (unsigned __int8 *)v10); v4 = (GameManager *)std::string::~string((int)v10); *(_BYTE *)(*(_DWORD *)(v2 + 528) + 1560) = *(_BYTE *)(*(_DWORD *)(v2 + 544) + 656); v5 = (GameManager *)GameManager::sharedState(v4); if ( *((_DWORD *)v5 + 102) ) { v6 = GameManager::sharedState(v5); LevelEditorLayer::copyParticleState( *(ParticleGameObject **)(v6 + 408), *(ParticleGameObject **)(v2 + 528), v7, v8); } return std::string::~string((int)v9); } return this; }