// // sub_100657740 from 0x100657740 to 0x100657859 (281 bytes) // // 2 xrefs: // > sub_100655F20 @ 0x100656022 // > sub_100655F20 @ 0x1006561af // // 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_100657740(__int64 a1, __int64 a2, _QWORD *a3, __int64 ***a4) { unsigned __int64 v4; // rax _QWORD *i; // rax _QWORD *v8; // r13 __int64 v9; // rax unsigned __int64 v10; // rax _QWORD *v11; // rax unsigned __int64 v12[6]; // [rsp+0h] [rbp-30h] BYREF v12[0] = v4; for ( i = (_QWORD *)*a3; i; i = (_QWORD *)i[1] ) { v8 = (_QWORD *)i[5]; if ( v8 && v8[6] ) goto LABEL_8; } v8 = nullptr; LABEL_8: v12[0] = (unsigned __int64)v8; while ( v8 ) { v9 = v8[4]; if ( !v9 || (v10 = *(_QWORD *)(v9 + 40)) == 0 ) { sub_1006573C0(a1, a2, v12, a4); v10 = v8[5]; LABEL_23: if ( !*(_QWORD *)(v10 + 48) ) goto LABEL_15; } v12[0] = v10; v8 = (_QWORD *)v10; } sub_1006573C0(a1, a2, v12, a4); LABEL_15: while ( v8 ) { v8 = (_QWORD *)v8[1]; v12[0] = (unsigned __int64)v8; if ( !v8 ) break; v11 = (_QWORD *)*a3; if ( *a3 ) { do { if ( v11 == v8 ) break; v11 = (_QWORD *)v11[1]; } while ( v11 ); } if ( v11 != v8 ) sub_1006573C0(a1, a2, v12, a4); v10 = v8[5]; if ( v10 ) goto LABEL_23; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source