// // ProfilePage::onModNotes from 0xa536a4 to 0xa53758 (180 bytes) // // 3 xrefs: // > @ 0x105178 // > ProfilePage::setupAccountButtons @ 0xa54208 // > @ 0x1547fa0 // // 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:00:06 +0000 // __int64 __fastcall ProfilePage::onModNotes(__int64 this, cocos2d::CCObject *a2) { __int64 v2; // x1 __int64 v3; // x19 __int64 v4; // x0 GJEditorSoundConfig *v5; // x4 cocos2d::CCDirector *v6; // x19 cocos2d::CCScene *v7; // x20 int v8; // w1 __int64 v9; // x2 v2 = *(_QWORD *)(this + 728); if ( v2 ) { if ( *(int *)(v2 + 376) > 0 ) { v3 = this; v4 = GameManager::sharedState((GameManager *)this); this = (unsigned int)(*(_DWORD *)(v4 + 1032) - *(_DWORD *)(v4 + 1036)); if ( (int)this > 0 ) { v6 = (cocos2d::CCDirector *)InfoLayer::create(nullptr, *(GJGameLevel **)(v3 + 728), nullptr, nullptr, v5); v7 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v6) + 272); if ( (int)cocos2d::CCScene::getHighestChildZ(v7) > 109 ) v8 = cocos2d::CCScene::getHighestChildZ(v7) + 1; else v8 = 110; v9 = *(_QWORD *)v6; *((_DWORD *)v6 + 148) = v8; (*(void (__fastcall **)(cocos2d::CCDirector *))(v9 + 1312))(v6); return InfoLayer::toggleModRoom(v6, nullptr); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source