// // std::__ndk1::vector>::__push_back_slow_path from 0x5db438 to 0x5db4e2 (170 bytes) // // 4 xrefs: // > GJSelectionStrip::addAction @ 0x5db53a // > CreateParticlePopup::init @ 0x669c20 // > DropdownListPopup::buildRows @ 0x777d18 // > DropdownListPopup::buildRows @ 0x777e68 // // 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:54:12 +0000 // void __fastcall std::vector::__push_back_slow_path( int a1, _DWORD *a2) { int v4; // r6 unsigned int v5; // r3 std::logic_error *exception; // r4 unsigned int v7; // r4 unsigned int v8; // r4 int v9; // r0 int v10; // r3 int v11; // r4 int v12; // r6 signed int v13; // r2 void *v14; // r3 void *v15; // r0 v4 = *(_DWORD *)(a1 + 4) - *(_DWORD *)a1; v5 = (v4 >> 2) + 1; if ( v5 >= 0x40000000 ) { exception = (std::logic_error *)_cxa_allocate_exception(8u); std::logic_error::logic_error(exception, "vector"); *(_DWORD *)exception = &off_D1546C; _cxa_throw( exception, (struct type_info *)&`typeinfo for'std::length_error, (void (*)(void *))std::length_error::~length_error); } v7 = (*(_DWORD *)(a1 + 8) - *(_DWORD *)a1) >> 2; if ( v7 > 0x1FFFFFFE ) { v8 = 0x3FFFFFFF; LABEL_9: v9 = operator new(4 * v8); goto LABEL_11; } v8 = 2 * v7; if ( v8 < v5 ) v8 = (v4 >> 2) + 1; if ( v8 ) goto LABEL_9; v9 = 0; LABEL_11: v10 = v9 + v4; v11 = v9 + 4 * v8; if ( v9 + v4 ) *(_DWORD *)(v9 + v4) = *a2; v12 = v10 + 4; v13 = *(_DWORD *)(a1 + 4) - *(_DWORD *)a1; v14 = (void *)(v10 - v13); if ( v13 > 3 ) v14 = memcpy(v14, *(const void **)a1, v13); v15 = *(void **)a1; *(_DWORD *)(a1 + 8) = v11; *(_DWORD *)a1 = v14; *(_DWORD *)(a1 + 4) = v12; if ( v15 ) operator delete(v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source