// // sub_B9A870 from 0xb9a870 to 0xb9a9dc (364 bytes) // // 2 xrefs: // > sub_B94C64 @ 0xb94e8c // > sub_B9A9DC @ 0xb9a9e4 // // 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 // char **__fastcall sub_B9A870(int a1, unsigned int a2) { char **result; // x0 char **v5; // x19 __int64 v6; // x20 _QWORD *v7; // x22 char *v8; // x0 char *v9; // x0 __int64 v10; // x0 result = (char **)off_1231020(1u, 0x180u); v5 = result; if ( result ) { *result = (_BYTE *)(&stru_BAB10 + 14); v6 = (__int64)(result + 10); if ( (unsigned int)sub_B71B20((__int64)(result + 10)) ) { v7 = v5 + 25; } else { v7 = v5 + 25; if ( !(unsigned int)sub_B9978C(v5 + 17, a1, (char *)sub_B99F18, (char *)sub_B99F04, (char *)sub_B99EE4) && !(unsigned int)sub_BAF6C4(v5 + 25, a2) ) { v8 = (char *)sub_B993D8((__int64)nullsub_7); v5[4] = v8; if ( v8 ) { v9 = (char *)sub_B993D8((__int64)nullsub_7); v5[5] = v9; if ( v9 ) { v10 = sub_B94B24(); v5[35] = (char *)v10; if ( v10 ) { *(_QWORD *)(v10 + 96) = v5; *(_QWORD *)(v10 + 2768) = v7; v5[36] = (char *)-1LL; v5[39] = &byte_5; return v5; } } } } } sub_B99B9C((__int64)(v5 + 17)); sub_B99B9C(v6); sub_BAF6E0(v7); sub_B83394((__int64)v5[35]); v5[35] = nullptr; sub_B99590(v5[4], 0); sub_B99590(v5[5], 0); off_1231008(v5); return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source