// // sub_1000D0C6C from 0x1000d0c6c to 0x1000d0cc8 (92 bytes) // // 2 xrefs: // > PlayLayer::tryShowDeathMarkers @ 0x10051e054 // > PlayLayer::tryShowDeathMarkers @ 0x10051e0e4 // // 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 10:58:54 +0000 // __int64 __fastcall sub_1000D0C6C(__int64 *a1, int a2, int a3, int a4) { __int64 v4; // x10 unsigned __int64 v5; // x8 __int64 result; // x0 _DWORD *v7; // x10 unsigned __int64 i; // x11 v4 = *a1; v5 = (a1[1] - *a1) >> 2; if ( v5 < 2 ) return 0; LODWORD(result) = 0; v7 = (_DWORD *)(v4 + 4); for ( i = 2; i <= v5; i += 2LL ) { if ( (*(v7 - 1) - a2) * (*(v7 - 1) - a2) + (*v7 - a3) * (*v7 - a3) > (unsigned int)(a4 * a4) ) result = (unsigned int)result; else result = (unsigned int)(result + 1); v7 += 2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source