// // CreateParticlePopup::onClose from 0x1405caa90 to 0x1405cabc7 (311 bytes) // // 5 xrefs: // > CreateParticlePopup::keyBackClicked @ 0x1405cabd9 // > CreateParticlePopup::init @ 0x1405c1e54 // > @ 0x1408e0abc // > @ 0x1408e0af4 // > @ 0x14092e454 // // This function is hookable on this platform (idp: pc, 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 11:34:52 +0000 // __int64 __fastcall CreateParticlePopup::onClose(__int64 a1) { __int64 v2; // rdx unsigned __int8 *v3; // rax cocos2d::CCArray *v4; // rcx unsigned int v5; // ebp struct cocos2d::CCObject *v6; // rsi struct cocos2d::CCObject *v7; // rdi unsigned __int8 *v8; // rax unsigned __int8 v10[40]; // [rsp+20h] [rbp-28h] BYREF CreateParticlePopup::willClose((cocos2d::CCArray **)a1); if ( *(_QWORD *)(a1 + 680) ) { v3 = GameToolbox::saveParticleToString(v10, *(_QWORD *)(a1 + 712)); ParticleGameObject::setParticleString(*(_QWORD *)(a1 + 680), v3); *(_DWORD *)(*(_QWORD *)(a1 + 680) + 1804LL) = *(_DWORD *)(a1 + 996); *(_BYTE *)(*(_QWORD *)(a1 + 680) + 1800LL) = *(_BYTE *)(*(_QWORD *)(a1 + 712) + 748LL); ParticleGameObject::updateParticle(*(_QWORD *)(a1 + 680)); } else { v4 = *(cocos2d::CCArray **)(a1 + 688); if ( v4 ) { v5 = 0; if ( cocos2d::CCArray::count(v4) ) { do { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5); v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 696), v5); v8 = GameToolbox::saveParticleToString(v10, (__int64)v7); ParticleGameObject::setParticleString(v6, v8); *((_BYTE *)v6 + 1800) = *((_BYTE *)v7 + 748); ParticleGameObject::updateParticle(v6); ++v5; } while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)) ); } } } LOBYTE(v2) = 1; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source