// // sub_100574940 from 0x100574940 to 0x100574970 (48 bytes) // // 1 xrefs: // > sub_10054BD2C @ 0x10054c73c // // 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 // unsigned __int8 *__fastcall sub_100574940(unsigned __int64 a1, unsigned __int8 a2, __int64 a3) { unsigned __int8 *result; // x0 if ( a3 - 1 < 0 ) return nullptr; result = (unsigned __int8 *)(a1 + a3 - 1); while ( *result != a2 ) { if ( (unsigned __int64)--result < a1 ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source