//
// cocos2d::CCIMEDispatcher::sharedDispatcher from 0xb2fb58 to 0xb2fbd8 (128 bytes)
//
// 9 xrefs:
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText @ 0xb0f6dc
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeDeleteBackward @ 0xb0f730
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeGetContentText @ 0xb0f794
// > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeTextClosed @ 0xb0f7e8
// > cocos2d::CCIMEDelegate::~CCIMEDelegate @ 0xb2fbf8
// > cocos2d::CCIMEDelegate::attachWithIME @ 0xb2fc38
// > cocos2d::CCIMEDelegate::detachWithIME @ 0xb2fc54
// > cocos2d::CCIMEDelegate::CCIMEDelegate @ 0xb2fc84
// > ??> @ 0xaca88
//
// 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
//
cocos2d::CCIMEDispatcher *cocos2d::CCIMEDispatcher::sharedDispatcher()
{
unsigned __int8 v0; // w0
v0 = atomic_load((unsigned __int8 *)byte_12471C0);
if ( (v0 & 1) != 0 || !_cxa_guard_acquire(byte_12471C0) )
return &stru_12471C8;
cocos2d::CCIMEDispatcher::CCIMEDispatcher(&stru_12471C8);
_cxa_guard_release(byte_12471C0);
__cxa_atexit((void (*)(void *))cocos2d::CCIMEDispatcher::~CCIMEDispatcher, &stru_12471C8, &unk_122F000);
return &stru_12471C8;
}