// // SelectArtLayer::onSelectCustom from 0x1002704f0 to 0x1002705a2 (178 bytes) // // 3 xrefs: // > SelectArtLayer::init @ 0x10027011b // > SelectArtLayer::init @ 0x10027020e // > SelectArtLayer::init @ 0x1002702f9 // // 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 SelectArtLayer::onSelectCustom(SelectArtLayer *a1, cocos2d::CCObject *a2) { int m_line; // eax int v3; // ecx int v4; // eax unsigned int v5; // r14d ButtonSprite *v6; // rax const char *v7; // rsi if ( a2 ) m_line = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); else m_line = a1->m_line; v3 = 1; if ( m_line >= 2 ) v3 = m_line; v4 = 3; if ( v3 < 3 ) v4 = v3; a1->m_line = v4; if ( (unsigned int)sub_100720070(a1->m_lineSprites) ) { v5 = 0; do { v6 = (ButtonSprite *)sub_1007200C0(a1->m_lineSprites, v5++); v7 = "GJ_button_04.png"; if ( v5 == a1->m_line ) v7 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v6, v7); } while ( v5 < (unsigned int)sub_100720070(a1->m_lineSprites) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source