// // 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 // int __fastcall CreateParticlePopup::onClose(cocos2d::CCArray **this, cocos2d::CCObject *a2) { unsigned int v3; // r5 ParticleGameObject *v4; // r8 cocos2d::CCParticleSystemQuad *v5; // r9 unsigned __int8 v7[12]; // [sp+0h] [bp-14h] BYREF CreateParticlePopup::willClose(this); v3 = (unsigned int)*(this + 132); if ( v3 ) { GameToolbox::saveParticleToString((GameToolbox *)v7, *(this + 136)); ParticleGameObject::setParticleString(v3, v7); std::string::~string((int)v7); *((_DWORD *)*(this + 132) + 391) = *(this + 175); *((_BYTE *)*(this + 132) + 1560) = *((_BYTE *)*(this + 136) + 656); ParticleGameObject::updateParticle(*(this + 132)); } else if ( *(this + 133) ) { while ( v3 < cocos2d::CCArray::count(*(this + 133)) ) { v4 = (ParticleGameObject *)cocos2d::CCArray::objectAtIndex(*(this + 133), v3); v5 = (cocos2d::CCParticleSystemQuad *)cocos2d::CCArray::objectAtIndex(*(this + 134), v3); GameToolbox::saveParticleToString((GameToolbox *)v7, v5); ParticleGameObject::setParticleString((int)v4, v7); ++v3; std::string::~string((int)v7); *((_BYTE *)v4 + 1560) = *((_BYTE *)v5 + 656); ParticleGameObject::updateParticle(v4); } } return (*((int (__fastcall **)(cocos2d::CCArray **, int))*this + 66))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source