// // sub_10005C670 from 0x10005c670 to 0x10005c732 (194 bytes) // // 1 xrefs: // > sub_1006AFEB0 @ 0x1006affcd // // 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:19:40 +0000 // __int64 __fastcall sub_10005C670(__int64 a1, char *a2) { __int64 v2; // rbx char *v3; // rax char v4; // dl __int64 v5; // rcx v2 = *(_QWORD *)(a1 + 72); if ( !v2 ) return 0; if ( !a2 ) { while ( !(**(__int64 (__fastcall ***)(__int64))v2)(v2) ) { v2 = *(_QWORD *)(v2 + 72); if ( !v2 ) return 0; } return (**(__int64 (__fastcall ***)(__int64))v2)(v2); } while ( !(**(__int64 (__fastcall ***)(__int64))v2)(v2) ) { LABEL_8: v2 = *(_QWORD *)(v2 + 72); if ( !v2 ) return 0; } v3 = (char *)sub_10005AD20((int *)(v2 + 24)); if ( v3 == a2 ) return (**(__int64 (__fastcall ***)(__int64))v2)(v2); v4 = *a2; if ( !*a2 ) { LABEL_7: if ( !*v3 ) return (**(__int64 (__fastcall ***)(__int64))v2)(v2); goto LABEL_8; } v5 = 0; while ( v4 == v3[v5] && (_DWORD)v5 != 0x7FFFFFFF ) { v4 = a2[++v5]; if ( !v4 ) { if ( (_DWORD)v5 == 0x7FFFFFFF ) return (**(__int64 (__fastcall ***)(__int64))v2)(v2); v3 += v5; goto LABEL_7; } } if ( (_DWORD)v5 != 0x7FFFFFFF ) goto LABEL_8; return (**(__int64 (__fastcall ***)(__int64))v2)(v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source