//
// cocos2d::JniHelper::getPlatformTimestamp from 0xd81198 to 0xd81258 (192 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::update @ 0x9ed538
// > GJBaseGameLayer::update @ 0x9ed5ec
// > EditorSFXManager::playAction @ 0xcc4aa0
// > ??> @ 0x803e0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:10 +0000
//
__int64 __fastcall cocos2d::JniHelper::getPlatformTimestamp(cocos2d::JniHelper *this)
{
char *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,
(cocos2d::JniHelper *)"android/os/SystemClock",
"uptimeMillis",
(__int64)"()J") )
{
_JNIEnv::CallStaticLongMethod((__int64)v2, v3, v4);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 184LL))(v2, v3);
}
else
{
__android_log_print(3, "JniHelper", "JniHelper::getPlatformTimestamp: failed to find SystemClock.uptimeMillis");
}
return _stack_chk_guard;
}