// // GJGameLevel::accumulateDeathsInRadius from 0x80620c to 0x8062f0 (228 bytes) // // 2 xrefs: // > PlayLayer::tryShowDeathMarkers @ 0xc37274 // > @ 0x49d38 // // 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:54:45 +0000 // __int64 *__fastcall GJGameLevel::accumulateDeathsInRadius(__int64 *result, int a2, int a3, int a4, float *a5, int *a6) { int v6; // w3 unsigned __int64 v7; // x19 __int64 v8; // x10 __int64 v9; // x9 __int64 v10; // x8 int v11; // w20 v6 = a4 * a4; v7 = 0; v8 = *result; v9 = result[1] - *result; while ( 1 ) { v7 += 9LL; v10 = v8 + 4 * v7; if ( v7 > v9 >> 2 ) break; while ( v6 >= (*(_DWORD *)(v10 - 32) - a3) * (*(_DWORD *)(v10 - 32) - a3) + (*(_DWORD *)(v10 - 36) - a2) * (*(_DWORD *)(v10 - 36) - a2) ) { v11 = *(_DWORD *)(v10 - 28); *a5 = *a5 + sqrtf((float)v11); if ( v11 > *a6 ) *a6 = v11; v8 = *result; v7 += 9LL; v10 = *result + 4 * v7; v9 = result[1] - *result; if ( v7 > v9 >> 2 ) return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source