// // UILayer::refreshDpad from 0x5c7dec to 0x5c7e8c (160 bytes) // // 3 xrefs: // > UILayer::togglePlatformerMode @ 0x5c7ea0 // > PlayLayer::resume @ 0x5d297c // > @ 0x7c200 // // 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 UILayer::refreshDpad(UILayer *a1) { GameManager *v2; // x0 unsigned int v3; // w19 GameManager *v4; // x0 int v5; // w22 GJUINode *v6; // x21 int v7; // w0 UIButtonConfig *DpadSetting; // x0 if ( a1->m_inPlatformer ) { v2 = GameManager::sharedState(); v3 = 0; a1->m_dpadType = GameManager::getGameVariable(v2, "0113"); v4 = GameManager::sharedState(); GameManager::prepareDPadSettings(v4); if ( a1->m_dualMode ) v5 = 4; else v5 = 1; do { v6 = (GJUINode *)cocos2d::CCArray::objectAtIndex(a1->m_uiNodes, v3); v7 = v3++; DpadSetting = getDpadSetting(v7, a1->m_dualMode); GJUINode::loadFromConfig(v6, DpadSetting); } while ( v3 != v5 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source