//
// sub_7735D4 from 0x7735d4 to 0x773638 (100 bytes)
//
// 10 xrefs:
// > std::mutex::lock @ 0x5ab864
// > cocos2d::extension::CCThreadPool::shutdown @ 0x5abbb8
// > sub_5ABD78 @ 0x5abda2
// > cocos2d::extension::CCThreadPool::enqueue @ 0x5ac09e
// > sub_76DB78 @ 0x76db84
// > sub_76DB88 @ 0x76db92
// > sub_76DB98 @ 0x76dba2
// > sub_776904 @ 0x776914
// > sub_776928 @ 0x776938
// > sub_776A9C @ 0x776b9e
//
// 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_7735D4(int a1)
{
_DWORD *exception; // r4
int v3; // r6
int v4; // [sp+4h] [bp+4h] BYREF
exception = _cxa_allocate_exception(0x10u);
v3 = sub_77671C();
(*(void (__fastcall **)(int *, int, int))(*(_DWORD *)v3 + 12))(&v4, v3, a1);
sub_760EAC(exception);
if ( (int *)(v4 - 12) != &dword_ACDD9C )
sub_772F3C((unsigned int *)(v4 - 12));
exception[2] = a1;
exception[3] = v3;
*exception = &off_AB0A20;
_cxa_throw(exception, (struct type_info *)&`typeinfo for'std::system_error, (void (*)(void *))sub_7766C8);
}