//
// std::__ndk1::vector>::vector from 0x40397c to 0x4039bc (64 bytes)
//
// 45 xrefs:
// > sub_4039BC @ 0x4039f6
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::__assign_multi>>,void *> *>> @ 0x40eb74
// > sub_410C64 @ 0x410dde
// > EffectGameObject::triggerObject @ 0x4f4938
// > EffectGameObject::triggerObject @ 0x4f4d16
// > EffectGameObject::triggerObject @ 0x4f4fc6
// > EffectGameObject::triggerObject @ 0x4f5048
// > EffectGameObject::triggerObject @ 0x4f5082
// > EffectGameObject::triggerObject @ 0x4f5126
// > EffectGameObject::triggerObject @ 0x4f5166
// > EffectGameObject::triggerObject @ 0x4f51be
// > EffectGameObject::triggerObject @ 0x4f521c
// > EffectGameObject::triggerObject @ 0x4f527e
// > EffectGameObject::triggerObject @ 0x4f52e2
// > RandTriggerGameObject::triggerObject @ 0x4f56cc
// > EventLinkTrigger::triggerObject @ 0x4f573c
// > CountTriggerGameObject::triggerObject @ 0x4f57ce
// > CountTriggerGameObject::triggerObject @ 0x4f581c
// > EndTriggerGameObject::triggerObject @ 0x4f58a6
// > TimerTriggerGameObject::triggerObject @ 0x4f5912
// > ItemTriggerGameObject::triggerObject @ 0x4f5998
// > SequenceTriggerGameObject::triggerObject @ 0x4f71d4
// > std::__ndk1::vector>::__emplace_back_slow_path> const&,uint const&,int &> @ 0x5a2740
// > GJBaseGameLayer::activateEventTrigger @ 0x5a43a0
// > GJBaseGameLayer::gameEventTriggered @ 0x5a493e
// > GJEffectManager::playerDied @ 0x5c4ebc
// > GJEffectManager::updateSpawnTriggers @ 0x5c4f70
// > sub_5C503C @ 0x5c5096
// > sub_5C50A6 @ 0x5c5100
// > sub_5C5110 @ 0x5c516a
// > sub_5C517A @ 0x5c51dc
// > sub_5C51EC @ 0x5c524e
// > std::__ndk1::vector>::assign @ 0x5c57ee
// > std::__ndk1::vector>::assign @ 0x5c58ae
// > GJEffectManager::updateTimers @ 0x5c79f6
// > GJEffectManager::updateTimers @ 0x5c7b8a
// > std::__ndk1::__hash_table,std::__ndk1::__unordered_map_hasher,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>::__assign_multi,void *> *>> @ 0x5cbfc0
// > GJEffectManager::prepareMoveActions @ 0x5ce360
// > GJEffectManager::handleObjectCollision @ 0x5cefbc
// > GJEffectManager::playerButton @ 0x5cf2a4
// > GJEffectManager::updateCountForItem @ 0x5cf4ac
// > GroupCommandObject2::GroupCommandObject2 @ 0x5d08ac
// > std::__ndk1::vector>::__emplace_back_slow_path> &,int &,int &> @ 0x71b6ec
// > ReadArchive::process @ 0x72a1d8
// > std::__ndk1::vector>::__swap_out_circular_buffer @ 0x72bb22
//
// 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:47:26 +0000
//
// Alternative name is '_ZNSt6__ndk16vectorIiNS_9allocatorIiEEEC1ERKS3_'
int __fastcall std::vector::vector(int a1, const void **a2)
{
unsigned int v4; // r1
const void *v5; // r1
signed int v6; // r5
*(_DWORD *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_DWORD *)(a1 + 8) = 0;
v4 = ((_BYTE *)a2[1] - (_BYTE *)*a2) >> 2;
if ( v4 )
{
std::vector::allocate((_DWORD *)a1, v4);
v5 = *a2;
v6 = (_BYTE *)a2[1] - (_BYTE *)*a2;
if ( v6 > 3 )
{
memcpy(*(void **)(a1 + 4), v5, v6);
*(_DWORD *)(a1 + 4) += v6;
}
}
return a1;
}