// // sub_100640FA0 from 0x100640fa0 to 0x1006410a5 (261 bytes) // // 1 xrefs: // > sub_1006410B0 @ 0x1006410ca // // 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 // _QWORD *__fastcall sub_100640FA0(_QWORD *a1) { _QWORD *v2; // r15 const char *v3; // r14 const char *v4; // rsi __int64 v5; // rax __int64 v6; // rax __int64 v7; // r15 const char *v8; // rdi const char *v9; // r14 _QWORD *v10; // r12 const char *v11; // rsi if ( *a1 ) { v2 = *(_QWORD **)(*a1 + 40LL); if ( v2[6] ) { v3 = (const char *)a1[2]; do { v4 = (const char *)v2[2]; if ( v4 ) { if ( !strcmp(v3, v4) ) goto LABEL_22; } v2 = (_QWORD *)v2[5]; } while ( v2[6] ); } LABEL_21: v2 = nullptr; LABEL_22: *a1 = v2; return a1; } v5 = a1[1]; if ( v5 && (v6 = *(_QWORD *)(v5 + 32)) != 0 ) { v7 = *(_QWORD *)(v6 + 40); *a1 = v7; if ( !v7 ) { if ( !*(_BYTE *)a1[2] ) return a1; goto LABEL_21; } v8 = ""; if ( *(_QWORD *)(v7 + 16) ) v8 = *(const char **)(v7 + 16); v9 = (const char *)a1[2]; if ( strcmp(v8, v9) ) { v10 = *(_QWORD **)(v7 + 40); if ( v10[6] ) { v2 = nullptr; while ( 1 ) { v11 = (const char *)v10[2]; if ( v11 ) { if ( !strcmp(v9, v11) ) break; } v10 = (_QWORD *)v10[5]; if ( !v10[6] ) goto LABEL_22; } v2 = v10; goto LABEL_22; } goto LABEL_21; } } else { *a1 = 0; if ( *(_BYTE *)a1[2] ) goto LABEL_21; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source