// // LevelSettingsLayer::onGArt from 0x10026e170 to 0x10026e251 (225 bytes) // // 1 xrefs: // > LevelSettingsLayer::init @ 0x10026ca75 // // 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 __fastcall LevelSettingsLayer::onGArt(LevelSettingsLayer *a1, cocos2d::CCObject *a2) { int m_groundLineIndex; // r15d SelectArtLayer *v4; // r14 cocos2d::CCArray *m_lineSprites; // rdi int v6; // eax unsigned int v7; // r15d ButtonSprite *v8; // rax const char *v9; // rsi m_groundLineIndex = 1; v4 = SelectArtLayer::create(Ground, a1->m_settingsObject->m_groundIndex); m_lineSprites = v4->m_lineSprites; if ( m_lineSprites ) { if ( a1->m_settingsObject->m_groundLineIndex >= 2 ) m_groundLineIndex = a1->m_settingsObject->m_groundLineIndex; v6 = 3; if ( m_groundLineIndex < 3 ) v6 = m_groundLineIndex; v4->m_line = v6; if ( (unsigned int)sub_100720070(m_lineSprites) ) { v7 = 0; do { v8 = (ButtonSprite *)sub_1007200C0(v4->m_lineSprites, v7++); v9 = "GJ_button_04.png"; if ( v7 == v4->m_line ) v9 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v8, v9); } while ( v7 < (unsigned int)sub_100720070(v4->m_lineSprites) ); } } v4->m_delegate = &a1->SelectArtDelegate; ((void (__fastcall *)(SelectArtLayer *))v4->show)(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source