//
// cocos2d::JniHelper::getClassID from 0xb0fa30 to 0xb0fae8 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0xb79d8
//
// 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 cocos2d::JniHelper::getClassID(cocos2d::JniHelper *this, const char *a2, _JNIEnv *a3)
{
const char *v3; // x2
__int64 v5; // x20
const char *v7; // [xsp+30h] [xbp+30h] BYREF
v3 = a2;
v7 = a2;
if ( !a2 )
{
if ( !(unsigned __int8)sub_B0F8FC((cocos2d::JniHelper *)&v7) )
return 0;
v3 = v7;
}
v5 = (*(__int64 (__fastcall **)(const char *, cocos2d::JniHelper *))(*(_QWORD *)v3 + 48LL))(v3, this);
if ( !v5 )
__android_log_print(3, "JniHelper", "Failed to find class of %s", (const char *)this);
return v5;
}