// // LevelBrowserLayer::onRefresh from 0x4a8824 to 0x4a88ae (138 bytes) // // 0 xrefs: // // 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:49:56 +0000 // GJSearchObject *__fastcall LevelBrowserLayer::onRefresh(LevelBrowserLayer *this, cocos2d::CCObject *a2) { GJSearchObject *result; // r0 const char *Key; // r7 size_t v5; // r0 GameLevelManager *v6; // r0 GameLevelManager *v7; // r0 char *v8; // r1 int v9; // r0 int v10[2]; // [sp+0h] [bp-14h] BYREF char *v11; // [sp+8h] [bp-Ch] result = *((GJSearchObject **)this + 125); if ( result ) { v10[0] = 0; v10[1] = 0; v11 = nullptr; Key = (const char *)GJSearchObject::getKey(result); v5 = strlen(Key); v6 = (GameLevelManager *)std::string::__init(v10, Key, v5); v7 = (GameLevelManager *)GameLevelManager::sharedState(v6); if ( (v10[0] & 1) != 0 ) v8 = v11; else v8 = (char *)v10 + 1; GameLevelManager::resetTimerForKey(v7, v8); LevelBrowserLayer::loadPage((GJSearchObject **)this, *((GJSearchObject **)this + 125)); v9 = *((_DWORD *)this + 123); if ( v9 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v9 + 172))(v9, 0); return (GJSearchObject *)std::string::~string((int)v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source