// // sub_65C048 from 0x65c048 to 0x65c0b8 (112 bytes) // // 7 xrefs: // > drawTrace @ 0x67614c // > drawTrace @ 0x676294 // > drawTrace @ 0x6762cc // > drawTrace @ 0x676498 // > drawTrace @ 0x6764ec // > drawTrace @ 0x676544 // > drawTrace @ 0x676598 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_65C048(_QWORD *a1, unsigned __int64 a2) { unsigned __int64 v2; // x5 _QWORD *v3; // x0 _QWORD *v4; // x2 __int64 result; // x0 unsigned __int64 v6; // x6 v2 = a1[1]; v3 = *(_QWORD **)(*a1 + 8 * (a2 % v2)); if ( !v3 ) return 0; v4 = (_QWORD *)*v3; result = 0; if ( v4 ) { v6 = v4[1]; do { if ( v6 == a2 ) { v4 = (_QWORD *)*v4; ++result; if ( !v4 ) return result; } else { if ( result ) return result; v4 = (_QWORD *)*v4; if ( !v4 ) return result; } v6 = v4[1]; } while ( a2 % v2 == v6 % v2 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source