//
// sub_B76AF8 from 0xb76af8 to 0xb76b50 (88 bytes)
//
// 18 xrefs:
// > sub_B7D9A0 @ 0xb7d9f8
// > sub_BA52A0 @ 0xba5334
// > sub_BA7560 @ 0xba75f4
// > sub_BA8B94 @ 0xba8be8
// > sub_B7D9A0 @ 0xb7d9ec
// > sub_BA52A0 @ 0xba5328
// > sub_BA7560 @ 0xba75e8
// > sub_BA8B94 @ 0xba8bdc
// > ??> @ 0x121c348
// > ??> @ 0x121c3c8
// > ??> @ 0x121c448
// > ??> @ 0x121c4c8
// > ??> @ 0x121c6d0
// > ??> @ 0x121c750
// > ??> @ 0x121c7d0
// > ??> @ 0x121c850
// > ??> @ 0x121c8d0
// > ??> @ 0x121c950
//
// 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_B76AF8(__int64 a1)
{
void *v2; // x1
__int64 result; // x0
v2 = off_1231020(1u, 0x88u);
if ( !v2 )
return 27;
result = 0;
*(_QWORD *)(*(_QWORD *)a1 + 536LL) = v2;
return result;
}