// // InfoLayer::toggleCommentMode from 0x1008941e0 to 0x1008942bd (221 bytes) // // 1 xrefs: // > InfoLayer::init @ 0x1008929cc // // 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 12:37:06 +0000 // __int64 __fastcall InfoLayer::toggleCommentMode(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // rax unsigned __int8 GameVariable; // r14 __int64 v5; // rax const char *v6; // r15 const char *v7; // rsi __int64 v8; // rax (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v2 = GameManager::sharedState(); GameManager::setGameVariable(v2, "0069"); v3 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v3, "0069"); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 1072LL))(*(_QWORD *)(a1 + 800)); v6 = "GJ_button_02.png"; v7 = "GJ_button_01.png"; if ( GameVariable ) { v7 = "GJ_button_02.png"; v6 = "GJ_button_01.png"; } ButtonSprite::updateBGImage(v5, (__int64)v7); v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 1072LL))(*(_QWORD *)(a1 + 808)); ButtonSprite::updateBGImage(v8, (__int64)v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 800) + 1056LL))(*(_QWORD *)(a1 + 800), GameVariable ^ 1u); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 808) + 1056LL))(*(_QWORD *)(a1 + 808), GameVariable); return InfoLayer::loadPage(a1, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source