// // CreateParticlePopup::onCopySettings from 0xaffd60 to 0xaffe9c (316 bytes) // // 3 xrefs: // > @ 0x61678 // > CreateParticlePopup::init @ 0xb019a8 // > @ 0x1542520 // // 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:20 +0000 // __int64 __fastcall CreateParticlePopup::onCopySettings(GameToolbox **this, cocos2d::CCObject *a2) { __int64 v3; // x23 GameManager *v4; // x0 GameManager *v5; // x0 __int64 v6; // x0 __int64 v8; // [xsp+48h] [xbp+48h] BYREF size_t v9; // [xsp+50h] [xbp+50h] void *v10; // [xsp+58h] [xbp+58h] __int64 v11; // [xsp+60h] [xbp+60h] BYREF size_t v12; // [xsp+68h] [xbp+68h] void *v13; // [xsp+70h] [xbp+70h] if ( *(this + 85) ) { GameToolbox::saveParticleToString(*(this + 89), &v8); v11 = 0; v12 = 0; v13 = nullptr; v3 = (__int64)*(this + 85); if ( (v8 & 1) != 0 ) { std::string::__init(&v11, v10, v9); } else { v13 = v10; v11 = v8; v12 = v9; } ParticleGameObject::setParticleString(v3, (__int64)&v11); if ( (v11 & 1) != 0 ) operator delete(v13); v4 = *(this + 85); *((_BYTE *)v4 + 1768) = *((_BYTE *)*(this + 89) + 740); v5 = *(GameManager **)(GameManager::sharedState(v4) + 552); if ( v5 ) { v6 = GameManager::sharedState(v5); LevelEditorLayer::copyParticleState(*(LevelEditorLayer **)(v6 + 552), *(this + 85)); } if ( (v8 & 1) != 0 ) operator delete(v10); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source