// // GJGameLevel::accumulateDeathsInRadius from 0x4ab7f2 to 0x4ab868 (118 bytes) // // 1 xrefs: // > PlayLayer::tryShowDeathMarkers @ 0x72d16a // // 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:49:58 +0000 // int __fastcall GJGameLevel::accumulateDeathsInRadius(int *a1, int a2, int a3, int a4, float *a5, int *a6) { int v6; // r6 int v7; // r9 unsigned int v10; // r7 int result; // r0 int v12; // r4 int v13; // r0 int v14; // r4 float v15; // r0 int v16; // [sp+4h] [bp-8h] v6 = 0; v7 = a4 * a4; v10 = 0; while ( 1 ) { result = *a1; v10 += 9; if ( v10 > (a1[1] - *a1) >> 2 ) break; v12 = *(_DWORD *)(result + v6); v13 = result + v6; if ( (*(_DWORD *)(v13 + 4) - a3) * (*(_DWORD *)(v13 + 4) - a3) + (v12 - a2) * (v12 - a2) <= v7 ) { v14 = *(_DWORD *)(v13 + 8); v16 = a3; v15 = sqrtf((float)v14); a3 = v16; *a5 = *a5 + v15; if ( v14 > *a6 ) *a6 = v14; } v6 += 36; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source