// // SelectListIconLayer::onSelect from 0x1403099d0 to 0x140309a86 (182 bytes) // // 4 xrefs: // > SelectListIconLayer::init @ 0x140309590 // > @ 0x140691d04 // > @ 0x140691d14 // > @ 0x1406d4604 // // 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 i; // ebx struct cocos2d::CCObject *v4; // rdi int v5; // eax void (__fastcall *v6)(int *, __int16 *); // r8 __int16 *v7; // rdx _BYTE v8[3]; // [rsp+30h] [rbp+8h] BYREF if ( a2 ) a1->m_currentDifficulty = a2->getTag(a2); for ( i = 0; i < cocos2d::CCArray::count(a1->m_difficulties); ++i ) { v4 = cocos2d::CCArray::objectAtIndex(a1->m_difficulties, i); v5 = v4->getTag(v4); v6 = **(void (__fastcall ***)(int *, __int16 *))&v4[5].m_unknown2; if ( a1->m_currentDifficulty == v5 ) { v7 = &word_140529B54; } else { memset(v8, 125, sizeof(v8)); v7 = (__int16 *)v8; } v6(&v4[5].m_unknown2, v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source