// // InfoLayer::toggleCommentMode from 0x1402bf4e0 to 0x1402bf593 (179 bytes) // // 3 xrefs: // > InfoLayer::init @ 0x1402bc18e // > InfoLayer::init @ 0x1402bc1df // > @ 0x1406d28f4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void InfoLayer::toggleCommentMode(InfoLayer *a1, cocos2d::CCObject *a2) { int v3; // eax GameManager *v4; // rcx bool v5; // r8 void *v6; // [rsp+38h] [rbp+10h] void *v7; // [rsp+38h] [rbp+10h] v3 = a2->getTag(a2); v4 = (GameManager *)qword_1406C2ED8; if ( v3 ) { if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } v5 = 0; } else { if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } v5 = 1; } GameManager::setGameVariable(v4, "0069", v5); InfoLayer::updateCommentModeButtons(a1); InfoLayer::loadPage(a1, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source