//
// sub_7B238C from 0x7b238c to 0x7b23f2 (102 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCThreadPool::CCThreadPool @ 0x7b2456
// > cocos2d::extension::CCThreadPool::CCThreadPool @ 0x7b24b4
//
// 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 12:00:08 +0000
//
pthread_t *__fastcall sub_7B238C(pthread_t *a1, std::__thread_struct **a2)
{
std::__thread_struct *v4; // r5
std::__thread_struct *v5; // r7
std::__thread_struct **v6; // r0
int v7; // r0
v4 = (std::__thread_struct *)operator new(4u);
std::__thread_struct::__thread_struct(v4);
v5 = *a2;
v6 = (std::__thread_struct **)operator new(8u);
*v6 = v4;
v6[1] = v5;
v7 = pthread_create(a1, nullptr, (void *(*)(void *))sub_7B21A8, v6);
if ( v7 )
std::__throw_system_error(v7, "thread constructor failed");
return a1;
}