// // ProfilePage::onModNotes from 0x140557970 to 0x140557a56 (230 bytes) // // 2 xrefs: // > ProfilePage::setupAccountButtons @ 0x140552a79 // > @ 0x14092bef8 // // This function is hookable on this platform (idp: pc, 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 11:34:11 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall ProfilePage::onModNotes(__int64 a1) { __int64 v2; // rax __int64 v3; // rdx char *v4; // rbx __int64 v5; // rcx cocos2d::CCScene *v6; // rdi int v7; // eax void *v8; // [rsp+30h] [rbp+8h] v2 = *(_QWORD *)(a1 + 728); if ( v2 && *(int *)(v2 + 392) > 0 ) { v3 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v8 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v3 = qword_14090BFD0; } if ( *(_DWORD *)(v3 + 1064) - *(_DWORD *)(v3 + 1068) >= 1 ) { v4 = InfoLayer::create(0, *(_QWORD *)(a1 + 728), 0, 0); v6 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v5) + 272); if ( cocos2d::CCScene::getHighestChildZ(v6) + 1 >= 110 ) v7 = cocos2d::CCScene::getHighestChildZ(v6) + 1; else v7 = 110; *((_DWORD *)v4 + 148) = v7; (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1064LL))(v4); InfoLayer::toggleModRoom((__int64)v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source