// // std::__ndk1::vector>::__push_back_slow_path from 0x59f588 to 0x59f600 (120 bytes) // // 1 xrefs: // > GJBaseGameLayer::sortGroups @ 0x5a99da // // 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 11:53:16 +0000 // void __fastcall std::vector::__push_back_slow_path( int a1, _DWORD *a2) { int v4; // r6 unsigned int v5; // r3 unsigned int v6; // r4 unsigned int v7; // r4 int v8; // r0 int v9; // r3 int v10; // r4 int v11; // r6 signed int v12; // r2 void *v13; // r3 void *v14; // r0 v4 = *(_DWORD *)(a1 + 4) - *(_DWORD *)a1; v5 = (v4 >> 2) + 1; if ( v5 >= 0x40000000 ) sub_388B48(); v6 = (*(_DWORD *)(a1 + 8) - *(_DWORD *)a1) >> 2; if ( v6 > 0x1FFFFFFE ) { v7 = 0x3FFFFFFF; LABEL_9: v8 = operator new(4 * v7); goto LABEL_11; } v7 = 2 * v6; if ( v7 < v5 ) v7 = (v4 >> 2) + 1; if ( v7 ) goto LABEL_9; v8 = 0; LABEL_11: v9 = v8 + v4; v10 = v8 + 4 * v7; if ( v8 + v4 ) *(_DWORD *)(v8 + v4) = *a2; v11 = v9 + 4; v12 = *(_DWORD *)(a1 + 4) - *(_DWORD *)a1; v13 = (void *)(v9 - v12); if ( v12 > 3 ) v13 = memcpy(v13, *(const void **)a1, v12); v14 = *(void **)a1; *(_DWORD *)(a1 + 8) = v10; *(_DWORD *)a1 = v13; *(_DWORD *)(a1 + 4) = v11; if ( v14 ) operator delete(v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source