// // sub_81B8B0 from 0x81b8b0 to 0x81b8ee (62 bytes) // // 6 xrefs: // > fmt::BasicFormatter::ParseArgIndex @ 0x81bb24 // > fmt::BasicFormatter::format @ 0x81eb06 // > fmt::BasicFormatter::format @ 0x81eb2a // > fmt::internal::PrintfParser::Format @ 0x81ee28 // > fmt::internal::PrintfParser::Format @ 0x81eea4 // > fmt::internal::PrintfParser::Format @ 0x81ef40 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:46 +0000 // int __fastcall sub_81B8B0(_DWORD **a1, int *a2) { int v2; // r3 _DWORD *v3; // r4 int result; // r0 v2 = 0; do { v3 = (*a1)++; if ( *v3 - 48 + 10 * v2 < (unsigned int)v2 ) v2 = -1; else v2 = *v3 - 48 + 10 * v2; } while ( (unsigned int)(v3[1] - 48) <= 9 ); if ( v2 >= 0 ) return v2; result = *a2; if ( *a2 ) return 0; *a2 = (int)"number is too big in format"; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source