// // LevelBrowserLayer::onSafeMode from 0x7fc2ec to 0x7fc3e0 (244 bytes) // // 3 xrefs: // > @ 0xf98e0 // > LevelBrowserLayer::init @ 0x7faae0 // > @ 0x1547960 // // 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 12:54:41 +0000 // __int64 __fastcall LevelBrowserLayer::onSafeMode(LevelBrowserLayer *this, cocos2d::CCObject *a2) { __int64 result; // x0 __int64 v4; // x19 char *v5; // x2 unsigned __int8 v7; // w1 int v8; // w0 int v9; // w0 GJSearchObject *v10; // x0 result = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result != dword_1548024 ) { dword_1548024 = result; v4 = 1; GameToolbox::setOnOffSprite(*((_QWORD *)this + 101), (_DWORD)result == 0); do { v5 = (char *)this + 8 * v4; v7 = dword_1548024 == (_DWORD)v4++; GameToolbox::setOnOffSprite(*((_QWORD *)v5 + 101), v7); } while ( v4 != 3 ); v8 = *(_DWORD *)(*((_QWORD *)this + 83) + 316LL); if ( v8 == 22 || v8 == 33 ) { v9 = 1; } else if ( v8 == 23 || v8 == 34 ) { v9 = 2; } else { v9 = 0; } v10 = (GJSearchObject *)LevelBrowserLayer::safeSearchObject(v9); LevelBrowserLayer::loadPage((GJSearchObject **)this, v10); return LevelBrowserLayer::updateBackgroundColor(this); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source