// // sub_1004D8FB8 from 0x1004d8fb8 to 0x1004d8fd8 (32 bytes) // // 1 xrefs: // > sub_1004D8FB8 @ 0x1004d8fcc // // 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_1004D8FB8(int a1, unsigned int a2, unsigned int a3) { int v3; // w8 unsigned int v4; // w9 do { v3 = a1 - 1; if ( !a1 ) break; v4 = a2 >> a1--; } while ( v4 <= a3 ); return (unsigned int)(v3 + 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source