// // sub_BC474C from 0xbc474c to 0xbc4810 (196 bytes) // // 1 xrefs: // > sub_BC41E0 @ 0xbc4388 // // 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_BC474C(__int64 *a1, unsigned int a2, __int64 a3, __int64 a4) { __int64 v4; // x25 int v5; // w8 _QWORD *v10; // x19 int v11; // w20 __int64 v12; // x4 __int64 result; // x0 _BOOL4 v14; // w1 __int64 v15; // x1 __int64 (__fastcall *v16)(__int64, __int64, __int64 *, _QWORD, __int64, __int64, __int64); // x7 v4 = *a1; v5 = *((unsigned __int8 *)a1 + 64); if ( *((_BYTE *)a1 + 64) ) { v10 = a1 + 2; v11 = 0; while ( 1 ) { v15 = *v10; v16 = *(__int64 (__fastcall **)(__int64, __int64, __int64 *, _QWORD, __int64, __int64, __int64))(*v10 + 8LL); if ( v16 ) { v12 = v10[3]; ++v11; ++v10; result = v16(v4, v15, a1, a2, v12, a3, a4); v5 = *((unsigned __int8 *)a1 + 64); v14 = result == 0; if ( v5 <= v11 ) return result; } else { ++v11; v14 = 1; result = 0; ++v10; if ( v5 <= v11 ) return result; } if ( !v14 ) return result; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source