// // GameObject::spawnDefaultPickupParticle from 0x1003e79d4 to 0x1003e7ba4 (464 bytes) // // 1 xrefs: // > GJBaseGameLayer::destroyObject @ 0x100284d60 // // 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 11:04:26 +0000 // void __fastcall GameObject::spawnDefaultPickupParticle(_DWORD *a1, __int64 a2) { unsigned int v4; // w22 int v5; // w23 const char *v6; // x21 double *v7; // x0 __int64 v8; // x0 __int64 v9; // x21 _BYTE *v10; // x0 unsigned int v11; // s0 unsigned int v12; // s1 unsigned int v13; // s2 unsigned int v14; // s9 unsigned int v15; // s10 float v16; // s11 _BYTE *v17; // x21 __int64 v18; // x0 __int16 v19; // w8 __int64 v20; // x0 unsigned __int64 v21; // [xsp+0h] [xbp-60h] BYREF float v22; // [xsp+8h] [xbp-58h] float v23; // [xsp+Ch] [xbp-54h] v4 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 896LL))(a1); v5 = a1[257]; if ( v5 == 1614 ) v6 = "coinPickupEffect.plist"; else v6 = "glassDestroy01.plist"; v7 = (double *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 192LL))(a1); sub_1000262F4(&v21, v7); v8 = GJBaseGameLayer::spawnParticle(a2, (__int64)v6, 0, 2, (__int64)&v21); if ( v8 ) { v9 = v8; v10 = (_BYTE *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 944LL))(a1); LOBYTE(v11) = *v10; LOBYTE(v12) = v10[1]; LOBYTE(v13) = v10[2]; *(float *)&v14 = (float)v11 / 255.0; *(float *)&v15 = (float)v12 / 255.0; v16 = (float)v13 / 255.0; *(float *)&v21 = *(float *)&v14; *((float *)&v21 + 1) = *(float *)&v15; v22 = v16; v23 = (float)v4 / 255.0; (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v9 + 1360LL))(v9, &v21); v21 = __PAIR64__(v15, v14); v22 = v16; v23 = 0.0; (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v9 + 1392LL))(v9, &v21); if ( v5 == 1614 ) { cocos2d::CCParticleSystem::loadScaledDefaults(v9, 0.6); return; } } else if ( v5 == 1614 ) { return; } v17 = CCCircleWave::create(0, 0, 12.0, 2.0, 0.3); v18 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 944LL))(a1); v19 = *(_WORD *)v18; v17[342] = *(_BYTE *)(v18 + 2); *((_WORD *)v17 + 170) = v19; v20 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 192LL))(a1); (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v17 + 184LL))(v17, v20); (*(void (__fastcall **)(_QWORD, _BYTE *, _QWORD))(**(_QWORD **)(a2 + 3920) + 464LL))(*(_QWORD *)(a2 + 3920), v17, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source