// // GJBaseGameLayer::spawnParticleTrigger from 0x9af280 to 0x9af438 (440 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x8983a4 // > @ 0x84568 // // 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 12:58:14 +0000 // __int64 __fastcall GJBaseGameLayer::spawnParticleTrigger(cocos2d::CCDictionary **this, SpawnParticleGameObject *a2) { float v4; // s8 int v5; // w0 float v6; // s9 float v7; // s8 float v8; // s9 const cocos2d::CCPoint *v9; // x0 int v10; // w1 __int64 Object; // x0 __int64 v12; // x23 __int64 v13; // x0 long double v14; // q0 float v15; // s14 int v16; // w0 float v17; // s13 int v18; // w0 int v19; // w24 float v21; // [xsp+98h] [xbp+98h] BYREF float v22; // [xsp+9Ch] [xbp+9Ch] _BYTE v23[8]; // [xsp+A0h] [xbp+A0h] BYREF v4 = *((float *)a2 + 465); v5 = rand(); v6 = *((float *)a2 + 467); v7 = v4 + (float)((float)((float)((float)((float)v5 * 4.6566e-10) * 2.0) + -1.0) * *((float *)a2 + 466)); v8 = v6 + (float)((float)((float)((float)((float)rand() * 4.6566e-10) * 2.0) + -1.0) * *((float *)a2 + 468)); v9 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(SpawnParticleGameObject *))(*(_QWORD *)a2 + 192LL))(a2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, v9); v10 = *((_DWORD *)a2 + 367); if ( v10 > 0 ) { Object = GJBaseGameLayer::tryGetObject(this, v10); v12 = Object; if ( Object ) { v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)Object + 192LL))(Object); *(__n128 *)&v14 = cocos2d::CCPoint::operator=(&v21, v13); if ( *((_BYTE *)a2 + 1856) ) v7 = v7 + (*(float (__fastcall **)(__int64, long double))(*(_QWORD *)v12 + 368LL))(v12, v14); } } v15 = *((float *)a2 + 460); v16 = rand(); v17 = *((float *)a2 + 461); v21 = v21 + (float)(v15 + (float)((float)((float)((float)((float)v16 * 4.6566e-10) * 2.0) + -1.0) * *((float *)a2 + 462))); v18 = rand(); v19 = *((_DWORD *)a2 + 366); v22 = v22 + (float)(v17 + (float)((float)((float)((float)((float)v18 * 4.6566e-10) * 2.0) + -1.0) * *((float *)a2 + 463))); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, (const cocos2d::CCPoint *)&v21); GJBaseGameLayer::spawnParticleTrigger((GJBaseGameLayer *)this, v19, (__int64)v23, v7, v8); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source