// // sub_B94FB0 from 0xb94fb0 to 0xb9514c (412 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_B94FB0(__int64 a1) { void *result; // x0 __int64 v3; // x19 void *v4; // x0 int v5; // w2 char v6; // w1 __int64 v7; // x0 void *v8; // x0 __int64 v9; // x0 const char *v10; // x0 char *v11; // x0 const char *v12; // x0 char *v13; // x0 void *v14; // x0 result = off_1231020(1u, 0x8E68u); v3 = (__int64)result; if ( result ) { v4 = off_1231000(0x100u); *(_QWORD *)(v3 + 2808) = v4; if ( v4 ) { *(_QWORD *)(v3 + 2816) = 256; if ( !(unsigned int)sub_B832A0((_QWORD *)v3, (_QWORD *)a1) ) { v5 = *(_DWORD *)(a1 + 2424); v6 = *(_BYTE *)(a1 + 2416); v7 = *(_QWORD *)(a1 + 2360); *(_QWORD *)(v3 + 2768) = 0; *(_QWORD *)(v3 + 2800) = 0; *(_DWORD *)(v3 + 2424) = v5; *(_BYTE *)(v3 + 2416) = v6; if ( !v7 || (v8 = sub_B75BB0(a1, *(char **)(v7 + 8), *(_BYTE **)(v3 + 2360), *(_BYTE *)(a1 + 977)), (*(_QWORD *)(v3 + 2360) = v8) != 0) ) { if ( *(_QWORD *)(a1 + 2344) ) { v9 = sub_BA4B40(); *(_QWORD *)(v3 + 2344) = v9; if ( !v9 ) goto LABEL_16; } v10 = *(const char **)(a1 + 2312); if ( !v10 ) goto LABEL_11; v11 = off_1231018(v10); *(_QWORD *)(v3 + 2312) = v11; if ( v11 ) { *(_BYTE *)(v3 + 2320) = 1; LABEL_11: v12 = *(const char **)(a1 + 2328); if ( !v12 ) { LABEL_14: sub_B91E38((_QWORD *)v3); *(_DWORD *)(v3 + 36448) = -1059136595; return (void *)v3; } v13 = off_1231018(v12); *(_QWORD *)(v3 + 2328) = v13; if ( v13 ) { *(_BYTE *)(v3 + 2336) = 1; goto LABEL_14; } } } } } v9 = *(_QWORD *)(v3 + 2344); LABEL_16: sub_BA4C54(v9); v14 = *(void **)(v3 + 2808); *(_QWORD *)(v3 + 2344) = 0; off_1231008(v14); *(_QWORD *)(v3 + 2808) = 0; off_1231008(*(void **)(v3 + 2312)); *(_QWORD *)(v3 + 2312) = 0; off_1231008(*(void **)(v3 + 2328)); *(_QWORD *)(v3 + 2328) = 0; sub_B8320C(v3); off_1231008((void *)v3); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source