// // std::__ndk1::vector>::__append from 0x46a5d0 to 0x46a67c (172 bytes) // // 1 xrefs: // > LevelEditorLayer::init @ 0x475d32 // // 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:48:59 +0000 // void __fastcall std::vector::__append(_DWORD *a1, unsigned int a2) { int v3; // r0 unsigned int v4; // r5 int v5; // r2 _DWORD *v6; // r3 int v7; // r2 unsigned int v8; // r1 unsigned int v9; // r0 unsigned int v10; // r0 void *v11[2]; // [sp+0h] [bp-1Ch] BYREF char *v12; // [sp+8h] [bp-14h] v3 = a1[2]; v4 = a2; v5 = a1[1]; if ( a2 > (v3 - v5) >> 2 ) { v7 = (v5 - *a1) >> 2; v8 = v7 + a2; if ( v8 >= 0x40000000 ) sub_387C60(); v9 = (v3 - *a1) >> 2; if ( v9 > 0x1FFFFFFE ) { v8 = 0x3FFFFFFF; } else { v10 = 2 * v9; if ( v8 < v10 ) v8 = v10; } std::__split_buffer::__split_buffer(v11, v8, v7, (int)(a1 + 2)); do { if ( v12 ) *(_DWORD *)v12 = 0; --v4; v12 += 4; } while ( v4 ); std::vector::__swap_out_circular_buffer((int)a1, v11); v12 -= 4 * ((unsigned int)(v12 - (char *)v11[1]) >> 2); if ( v11[0] ) operator delete(v11[0]); } else { do { v6 = (_DWORD *)a1[1]; if ( v6 ) *v6 = 0; --v4; a1[1] += 4; } while ( v4 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source