// // _ZNSt6__ndk112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendIPwEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr38__libcpp_string_gets_noexcept_iteratorIS9_EE5valueERS5_E4typeES9_S9_ from 0x96af80 to 0x96b020 (160 bytes) // // 1 xrefs: // > std::__ndk1::money_get>>::do_get @ 0x96aea4 // // 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:48 +0000 // unsigned int *__fastcall std::wstring::append(unsigned int *a1, char *a2, char *a3) { unsigned int v5; // r0 unsigned int v7; // r8 unsigned int v8; // r1 unsigned int v9; // r9 _DWORD *v10; // r0 _DWORD *v11; // r1 unsigned int v12; // r2 int v13; // t1 unsigned int v14; // r0 v5 = *(unsigned __int8 *)a1; if ( (v5 & 1) != 0 ) { v7 = a1[1]; v5 = *a1; v8 = (*a1 & 0xFFFFFFFE) - 1; } else { v7 = v5 >> 1; v8 = 1; } if ( (a3 - a2) >> 2 ) { v9 = (a3 - a2) >> 2; if ( v8 - v7 < v9 ) { std::wstring::__grow_by(a1, v8, v7 + v9 - v8, v7, v7, 0, 0); LOBYTE(v5) = *(_BYTE *)a1; } if ( (v5 & 1) != 0 ) v10 = (_DWORD *)a1[2]; else v10 = a1 + 1; v11 = &v10[v7]; if ( a2 != a3 ) { v12 = v7 + ((unsigned int)(a3 - 4 - a2) >> 2) + 1; do { v13 = *(_DWORD *)a2; a2 += 4; *v11++ = v13; } while ( a3 != a2 ); v11 = &v10[v12]; } *v11 = 0; v14 = v7 + v9; if ( (*(_BYTE *)a1 & 1) != 0 ) a1[1] = v14; else *(_BYTE *)a1 = 2 * v14; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source