// // sub_C94BE from 0xc94be to 0xc94d8 (26 bytes) // // 2 xrefs: // > sub_CDC64 @ 0xcdcdc // > sub_CE264 @ 0xce34e // // 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 // int __fastcall sub_C94BE(int a1, int a2) { int v2; // r2 int v3; // r1 v2 = *(_DWORD *)(a1 + 4); if ( v2 < 0 ) return -1; v3 = a2 + *(_DWORD *)(a1 + 8); if ( v3 > v2 ) return -1; *(_DWORD *)(a1 + 8) = v3; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source