// // sub_BAB7C from 0xbab7c to 0xbab88 (12 bytes) // // 2 xrefs: // > sub_B9360 @ 0xb95b8 // > sub_B9C2C @ 0xb9c84 // // 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 sub_BAB7C() { int v0; // w9 unsigned int v1; // w8 __int64 v2; // x19 __int64 result; // x0 int v4; // w1 result = *(unsigned int *)(v2 + 716); v4 = *(_DWORD *)(v2 + 644); if ( v4 == 5 ) { v0 = (*(_DWORD *)(v2 + 716) >> 1) & 8 | *(_DWORD *)(v2 + 716) & 7; v1 = ((unsigned int)result >> 1) & 0x10; } else { if ( v4 != 4 ) return result; v0 = (*(_DWORD *)(v2 + 716) >> 2) & 4 | *(_DWORD *)(v2 + 716) & 3; v1 = ((unsigned int)result >> 2) & 8; } return v0 | v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source