//
// sub_7731C4 from 0x7731c4 to 0x773214 (80 bytes)
//
// 92 xrefs:
// > std::vector
>::push_back @ 0x3074b8
// > DynamicBitset::resize @ 0x30f276
// > std::vector>::_M_default_append @ 0x31886a
// > std::vector>::_M_default_append @ 0x31893a
// > PlayLayer::saveDynamicSaveObjects @ 0x319e40
// > std::vector>::_M_check_len @ 0x31a542
// > PlayLayer::saveActiveSaveObjects @ 0x31a586
// > PlayLayer::createCheckpoint @ 0x31ef8e
// > std::vector>::_M_default_append @ 0x324ad4
// > std::vector>::_M_fill_insert @ 0x350bc0
// > hashRemapMap @ 0x369e20
// > std::vector>::resize @ 0x36d6cc
// > std::vector>::resize @ 0x36d77c
// > std::vector>::resize @ 0x36d842
// > std::vector>::_M_default_append @ 0x36f250
// > std::vector>::_M_check_len @ 0x36f6d0
// > std::vector>::_M_check_len @ 0x36fb18
// > std::vector>::_M_fill_insert @ 0x36ff92
// > std::vector>::_M_check_len @ 0x3701a8
// > std::vector>::_M_check_len @ 0x370294
// > std::vector>,std::allocator>>>::_M_check_len @ 0x3703fc
// > std::vector>::_M_check_len @ 0x370438
// > std::vector>::_M_check_len @ 0x3705e2
// > std::vector>::_M_check_len @ 0x3cecd0
// > std::vector>::_M_check_len @ 0x3ed2fa
// > std::vector>::reserve @ 0x47df7c
// > std::vector>,std::allocator>>,std::allocator>,std::allocator>>>>::resize @ 0x47e064
// > std::vector>,std::allocator>>>::resize @ 0x47e128
// > std::vector>,std::allocator>>>::resize @ 0x47e1ec
// > std::vector>::_M_check_len @ 0x4810a8
// > std::vector>::_M_check_len @ 0x481630
// > std::vector>::_M_check_len @ 0x48186c
// > GJBaseGameLayer::addToSection @ 0x482a00
// > std::vector>::_M_check_len @ 0x483b8c
// > std::vector>::_M_check_len @ 0x484430
// > GJBaseGameLayer::activatePersistentItemTrigger @ 0x48ea0e
// > std::vector>::reserve @ 0x49aeaa
// > std::vector>::_M_default_append @ 0x49bffe
// > std::vector>::_M_check_len @ 0x49c7b8
// > std::vector>::_M_check_len @ 0x49ca04
// > std::vector>::_M_check_len @ 0x49cc88
// > std::vector>::_M_check_len @ 0x49d40c
// > GJEffectManager::createKeyframeCommand @ 0x4a557e
// > std::vector>,std::allocator>>>::resize @ 0x594fb0
// > std::vector>::_M_check_len @ 0x5950fa
// > std::vector>::_M_range_insert @ 0x5acab6
// > std::vector>::_M_check_len @ 0x5b0ed0
// > cocos2d::CCAnimate::initWithAnimation @ 0x5b9022
// > std::vector>::_M_check_len @ 0x5cd502
// > std::vector>::reserve @ 0x5cd54e
// > std::vector>::_M_check_len @ 0x5d41e8
// > cocos2d::cc_utf16_to_utf8 @ 0x5eaa04
// > std::vector>::_M_check_len @ 0x5feabc
// > sub_773E30 @ 0x773e4c
// > sub_773F48 @ 0x773fe4
// > sub_7740F8 @ 0x7741ea
// > sub_774228 @ 0x7742c4
// > sub_7742D0 @ 0x774344
// > sub_774608 @ 0x774696
// > sub_7746A8 @ 0x774736
// > sub_774FAC @ 0x775002
// > sub_775238 @ 0x775284
// > sub_7752BC @ 0x775358
// > sub_775404 @ 0x7754f2
// > sub_7755C8 @ 0x775600
// > sub_775828 @ 0x775862
// > sub_77586C @ 0x7758aa
// > sub_7758B4 @ 0x7758fe
// > sub_77591C @ 0x77596c
// > sub_775974 @ 0x7759d0
// > sub_7759F0 @ 0x775a44
// > sub_775B70 @ 0x775c12
// > sub_775ECC @ 0x775f7a
// > ??> @ 0x77602e
// > sub_776040 @ 0x7760fc
// > sub_7761E0 @ 0x77629c
// > sub_7762CC @ 0x776416
// > sub_776C74 @ 0x776c90
// > sub_777768 @ 0x7777c6
// > sub_777A0C @ 0x777a5a
// > sub_777A98 @ 0x777b38
// > sub_777BE4 @ 0x777cea
// > sub_777FE4 @ 0x77801c
// > sub_778024 @ 0x778062
// > sub_77806C @ 0x7780b8
// > sub_7780D8 @ 0x778126
// > sub_778130 @ 0x778190
// > sub_7781B0 @ 0x778204
// > sub_778518 @ 0x7785ba
// > sub_778648 @ 0x7786c0
// > sub_7786DC @ 0x778714
// > sub_778F1C @ 0x77907e
//
// 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
//
void __fastcall __noreturn sub_7731C4(char *a1)
{
_DWORD *exception; // r5
int v3; // [sp+Ch] [bp+Ch] BYREF
exception = _cxa_allocate_exception(8u);
sub_776584((int)&v3, a1);
sub_760E4C(exception);
if ( (int *)(v3 - 12) != &dword_ACDD9C )
sub_772F3C((unsigned int *)(v3 - 12));
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::length_error, (void (*)(void *))sub_7608A8);
}