// // sub_1009604D0 from 0x1009604d0 to 0x10096053d (109 bytes) // // 1 xrefs: // > PlayLayer::destroyPlayer @ 0x100087b69 // // This function is hookable on this platform (idp: pc, 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:38:45 +0000 // char __fastcall sub_1009604D0(__int64 a1, int a2, int a3) { int v3; // ecx char result; // al __int64 v5; // rdx unsigned __int64 v6; // rdi unsigned __int64 i; // rax v3 = 0xFFFF; if ( a2 >= 0xFFFF ) a2 = 0xFFFF; result = 0; if ( a2 <= 0 ) a2 = 0; if ( a3 < 0xFFFF ) v3 = a3; if ( v3 <= 0 ) v3 = 0; v5 = *(_QWORD *)(a1 + 14440); v6 = (*(_QWORD *)(a1 + 14448) - v5) >> 2; if ( v6 >= 4 ) { for ( i = 4; i <= v6; i += 4LL ) { if ( *(_DWORD *)(v5 + 4 * i - 16) == a2 && *(_DWORD *)(v5 + 4 * i - 12) == v3 ) return 1; } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source