// // std::vector>::resize from 0x370100 to 0x37018e (142 bytes) // // 7 xrefs: // > LevelEditorLayer::init @ 0x376660 // > LevelEditorLayer::init @ 0x376674 // > LevelEditorLayer::init @ 0x376692 // > LevelEditorLayer::init @ 0x3766a6 // > LevelEditorLayer::init @ 0x3766bc // > GJEffectManager::init @ 0x4a6e7c // > GJEffectManager::init @ 0x4a6f4a // // 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 std::vector::resize(const void **a1, unsigned int a2, int a3) { unsigned int v6; // r0 const void *v7; // r1 int *result; // r0 unsigned int v9; // r3 int v10; // r0 const void *v11; // r1 int v12; // r5 int v13; // r5 const void *v14; // r1 int v15; // [sp+Ch] [bp-10h] BYREF char *v16; // [sp+14h] [bp-8h] BYREF int v17; // [sp+18h] [bp-4h] const void *v18; // [sp+1Ch] [bp+0h] BYREF const void *v19; // [sp+20h] [bp+4h] v6 = std::vector::size(a1); if ( a2 >= v6 ) { v9 = a2 - v6; v10 = (int)a1[3]; v11 = a1[1]; v12 = (_BYTE *)a1[2] - (_BYTE *)*a1; v16 = (char *)a1[2]; v17 = v10; v13 = v10 - (_DWORD)v11 + 8 * v12; std::vector::_M_fill_insert(a1, v16, v10, v9, a3); v14 = a1[1]; v18 = *a1; v19 = v14; return std::_Bit_iterator::operator+(&v15, &v18, v13); } else { v7 = a1[1]; v16 = (char *)*a1; v17 = (int)v7; result = std::_Bit_iterator::operator+((int *)&v18, &v16, a2); a1[2] = v18; a1[3] = v19; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source