// // SelectListIconLayer::onSelect from 0x58f6d4 to 0x58f75c (136 bytes) // // 1 xrefs: // > SelectListIconLayer::init @ 0x592778 // // 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 SelectListIconLayer::onSelect(SelectListIconLayer *a1, cocos2d::CCObject *a2) { unsigned int v3; // r4 int v4; // r0 int m_currentDifficulty; // r11 int v6; // r5 int v7; // r0 void (__fastcall *v8)(int, __int16 *); // r3 int v9; // r0 __int16 *v10; // r1 _DWORD v11[3]; // [sp+0h] [bp-Ch] BYREF v11[0] = a1; v11[1] = a2; if ( a2 ) a1->m_currentDifficulty = a2->getTag(a2); v3 = 0; while ( v3 < cocos2d::CCArray::count(a1->m_difficulties) ) { v4 = cocos2d::CCArray::objectAtIndex(a1->m_difficulties, v3); m_currentDifficulty = a1->m_currentDifficulty; ++v3; v6 = v4; v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 32))(v4); v8 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v6 + 472); if ( m_currentDifficulty == v7 ) { v9 = v6; v10 = &word_9ADD28; } else { memset(v11, 125, 3); v9 = v6; v10 = (__int16 *)v11; } v8(v9, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source