//
// cocos2d::JniHelper::getPlatformTimestamp from 0xb0fe60 to 0xb0ff20 (192 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::update @ 0x89d850
// > GJBaseGameLayer::update @ 0x89d904
// > ??> @ 0x5dbe8
//
// 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::getPlatformTimestamp(cocos2d::JniHelper *this)
{
__int64 v2; // [xsp+20h] [xbp+20h] BYREF
__int64 v3; // [xsp+28h] [xbp+28h]
__int64 v4; // [xsp+30h] [xbp+30h]
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v2,
"android/os/SystemClock",
"uptimeMillis",
(__int64)"()J") )
{
_JNIEnv::CallStaticLongMethod(v2, v3, v4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v3);
}
else
{
__android_log_print(3, "JniHelper", "JniHelper::getPlatformTimestamp: failed to find SystemClock.uptimeMillis");
}
return _stack_chk_guard;
}