// // SpawnTriggerGameObject::triggerObject from 0x4e6838 to 0x4e68dc (164 bytes) // // 0 xrefs: // // 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:51:05 +0000 // int __fastcall SpawnTriggerGameObject::triggerObject(int a1, int a2) { float v4; // s16 float v5; // s15 int result; // r0 v4 = *(float *)(a1 + 1688); if ( *(float *)(a1 + 1692) != 0.0 && a2 && (!*(_BYTE *)(a2 + 10612) || *(_DWORD *)(a2 + 1428) == 1) ) { v4 = v4 + (float)(GameToolbox::fast_rand_minus1_1((GameToolbox *)a1) * *(float *)(a1 + 1692)); if ( v4 < 0.0 ) v4 = 0.0; } v5 = v4 - *(double *)(a1 + 1680); result = GJBaseGameLayer::spawnGroupTriggered( a2, *(_DWORD *)(a1 + 1284), LODWORD(v5), *(unsigned __int8 *)(a1 + 1486), a1 + 1664, *(_DWORD *)(a1 + 780), *(_DWORD *)(a1 + 1492)); *(_QWORD *)(a1 + 1680) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source