// // sub_777F78 from 0x777f78 to 0x777fc0 (72 bytes) // // 0 xrefs: // // 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_777F78(wchar_t *a1, unsigned int a2) { wchar_t v2; // r3 unsigned int v4; // r2 int v6; // r1 v2 = *a1; v4 = *(_DWORD *)(*a1 - 12); if ( a2 >= v4 ) sub_7732C4("basic_string::at: __n (which is %zu) >= this->size() (which is %zu)", a2, v4); v6 = *(_DWORD *)(v2 - 4); if ( v6 >= 0 && (_UNKNOWN *)(v2 - 12) != &unk_ACDDAC ) { if ( v6 ) { sub_7777D0(a1, 0, 0, 0); v2 = *a1; } *(_DWORD *)(v2 - 4) = -1; } return v2 + 4 * a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source