// // __cxa_guard_release from 0x743c94 to 0x743cd8 (68 bytes) // // 13 xrefs: // > cocos2d::CCCallFuncND::getClassTypeInfo @ 0x5b5288 // > cocos2d::CCCallFuncO::getClassTypeInfo @ 0x5b52d4 // > cocos2d::CCCallFuncN::getClassTypeInfo @ 0x5b5320 // > cocos2d::CCDirector::getClassTypeInfo @ 0x5c2992 // > cocos2d::CCFileUtils::getClassTypeInfo @ 0x5deada // > cocos2d::CCEGLView::sharedOpenGLView @ 0x5e1022 // > sub_5E18FC @ 0x5e191e // > cocos2d::CCIMEDispatcher::sharedDispatcher @ 0x5f2d42 // > sub_742C1C @ 0x742c4e // > sub_756A4C @ 0x756ab2 // > sub_757BA0 @ 0x757c56 // > sub_757DB4 @ 0x757e4e // > sub_773970 @ 0x773992 // // 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 _cxa_guard_release(__guard *a1) { unsigned int v1; // r1 if ( &pthread_create ) { __dmb(0xFu); do v1 = __ldrex((unsigned int *)a1); while ( __strex(1u, (unsigned int *)a1) ); __dmb(0xFu); if ( (v1 & 0x10000) != 0 ) syscall(240, a1, 1, 0x7FFFFFFF); } else { *((_BYTE *)a1 + 1) = (unsigned __int8)&pthread_create; *a1 = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source