// // sub_1008ED4A0 from 0x1008ed4a0 to 0x1008ed51f (127 bytes) // // 0 xrefs: // // 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:37:54 +0000 // __int64 __fastcall sub_1008ED4A0(__int64 a1, int a2) { __int64 v3; // rdi unsigned int v4; // r15d __int64 result; // rax v3 = *(_QWORD *)(a1 + 152); if ( v3 == 0 || a2 <= 0 || !(unsigned int)sub_1007FEF90(v3) ) return 0; v4 = 0; while ( 1 ) { result = sub_1007FEFE0(*(_QWORD *)(a1 + 152), v4); if ( result ) { if ( *(_DWORD *)(result + 320) == a2 ) break; } if ( ++v4 >= (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 152)) ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source