//
// cc_assert_script_compatible from 0xb106cc to 0xb1071c (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x7bf78
//
// 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
//
__int64 __fastcall cc_assert_script_compatible(const char *a1)
{
__int64 v2; // x0
__int64 result; // x0
v2 = *(_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();
if ( !v2 )
return 0;
result = (*(unsigned __int8 (__fastcall **)(__int64, const char *))(*(_QWORD *)v2 + 160LL))(v2, a1);
if ( !(_BYTE)result )
return 0;
return result;
}