// // sub_1000977C0 from 0x1000977c0 to 0x1000978a3 (227 bytes) // // 0 xrefs: // // 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 // void __fastcall sub_1000977C0(__int64 a1, char *a2) { __int64 v2; // r15 char *v4; // rax __int64 v5; // rcx __int64 v6; // r12 char v7; // si __int64 v8; // rdx _QWORD *v9; // rax __int64 v10; // rbx v2 = *(_QWORD *)(a1 + 96); if ( !v2 ) return; v4 = (char *)sub_100093910((int *)(v2 + 8)); if ( v4 == a2 ) { v6 = 0; goto LABEL_20; } v5 = 0; while ( 1 ) { v6 = v2; v7 = *a2; if ( *a2 ) { v8 = 0; while ( v7 == v4[v8] && (_DWORD)v8 != 0x7FFFFFFF ) { v7 = a2[++v8]; if ( !v7 ) { if ( (_DWORD)v8 == 0x7FFFFFFF ) goto LABEL_19; v4 += v8; goto LABEL_11; } } if ( (_DWORD)v8 == 0x7FFFFFFF ) break; goto LABEL_14; } LABEL_11: if ( !*v4 ) break; LABEL_14: v2 = *(_QWORD *)(v2 + 56); if ( !v2 ) return; v4 = (char *)sub_100093910((int *)(v2 + 8)); v5 = v6; if ( v4 == a2 ) goto LABEL_20; } LABEL_19: v6 = v5; LABEL_20: v9 = (_QWORD *)(v6 + 56); if ( !v6 ) v9 = (_QWORD *)(a1 + 96); *v9 = *(_QWORD *)(v2 + 56); v10 = *(_QWORD *)(v2 + 64); (**(void (__fastcall ***)(__int64))v2)(v2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 32LL))(v10, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source