// // sub_977C74 from 0x977c74 to 0x977cb0 (60 bytes) // // 0 xrefs: // // 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:05:59 +0000 // int *__fastcall sub_977C74(int *a1, unsigned __int8 *a2, unsigned int a3) { unsigned int v4; // r3 unsigned int v5; // r0 int v6; // r12 unsigned __int8 *v7; // r3 *a1 = 0; a1[1] = 0; a1[2] = 0; v4 = *a2; v5 = *((_DWORD *)a2 + 1); v6 = v4 & 1; if ( (v4 & 1) == 0 ) v5 = v4 >> 1; if ( v5 < a3 ) std::__basic_string_common::__throw_out_of_range(); v7 = *((unsigned __int8 **)a2 + 2); if ( !v6 ) v7 = a2 + 1; std::string::__init(a1, &v7[a3], v5 - a3); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source