// // GameLevelManager::isTimeValid from 0x4adb1c to 0x4adba6 (138 bytes) // // 4 xrefs: // > GameLevelManager::isUpdateValid @ 0x4adbbe // > GameLevelManager::getStoredOnlineLevels @ 0x4adbdc // > GameLevelManager::getStoredLevelComments @ 0x4aeef0 // > GameLevelManager::getEditorSoundConfigs @ 0x4bb894 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:00 +0000 // bool __fastcall GameLevelManager::isTimeValid(GameLevelManager *this, const char *a2, float a3) { double v3; // d0 int v6; // r7 size_t v7; // r0 cocos2d::CCString *v8; // r5 _BOOL4 result; // r0 float v10; // r1 double v11; // d9 float v12; // r2 int v13; // r3 int v14[3]; // [sp+0h] [bp-14h] BYREF v6 = *((_DWORD *)this + 172); memset(v14, 0, sizeof(v14)); v7 = strlen(a2); std::string::__init(v14, a2, v7); v8 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v6, v14); std::string::~string((int)v14); result = (_BOOL4)v8; if ( v8 ) { LODWORD(v11) = cocos2d::CCString::doubleValue(v8); *((float *)&v11 + 1) = v10; sub_4A9988(SLODWORD(v11), v10, v12, v13); return v3 - v11 <= a3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source