// // MoreVideoOptionsLayer::updateFPSButtons from 0x14037af50 to 0x14037b017 (199 bytes) // // 3 xrefs: // > MoreVideoOptionsLayer::init @ 0x1403794d8 // > MoreVideoOptionsLayer::onToggle @ 0x14037af1f // > @ 0x1406d5cb4 // // 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 // void MoreVideoOptionsLayer::updateFPSButtons(MoreVideoOptionsLayer *a1) { GameManager *v2; // rcx bool GameVariable; // si unsigned int i; // ebx struct cocos2d::CCObject *v5; // rax void *v6; // [rsp+30h] [rbp+8h] v2 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v2 = (GameManager *)qword_1406C2ED8; } GameVariable = GameManager::getGameVariable(v2, "0116"); for ( i = 0; i < cocos2d::CCArray::count(a1->m_fpsNodes); ++i ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_fpsNodes, i); ((void (__fastcall *)(struct cocos2d::CCObject *, bool))v5->__vftable[4].update)(v5, GameVariable); } a1->m_fpsInput->setTouchEnabled(a1->m_fpsInput, GameVariable); }
GD Web Decomp Icon

GD Web Decomp

Raw Source