// // EasingSelectPopup::refreshCellHighlight from 0x140176650 to 0x14017678c (316 bytes) // // 5 xrefs: // > EasingSelectPopup::init @ 0x1401763e6 // > EasingSelectPopup::onCell @ 0x140176826 // > @ 0x14089d478 // > @ 0x14089d4ac // > @ 0x140918518 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:33 +0000 // void __fastcall EasingSelectPopup::refreshCellHighlight(__int64 a1) { _DWORD *v2; // rcx int v3; // esi signed int v4; // ebx int v5; // ebp struct cocos2d::CCObject *v6; // rax char *v7; // rcx __int64 v8; // rax __int64 v9; // rdx cocos2d::CCArray *v10; // rcx struct cocos2d::CCObject *v11; // rcx __int16 *v12; // rdx __int16 v13; // [rsp+40h] [rbp+8h] BYREF char v14; // [rsp+42h] [rbp+Ah] __int16 v15; // [rsp+48h] [rbp+10h] BYREF char v16; // [rsp+4Ah] [rbp+12h] v2 = *(_DWORD **)(a1 + 1000); if ( v2 && *(_QWORD *)(a1 + 1040) ) { v3 = *(_DWORD *)(a1 + 1012) == 30 ? v2[204] : (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1168LL))(v2); v4 = 0; v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 1040)); if ( v5 > 0 ) { do { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1040), v4); if ( v6 ) { v7 = (char *)v6 + 320; v8 = *((_QWORD *)v6 + 40); v9 = 65; if ( v4 == v3 ) v9 = 125; (*(void (__fastcall **)(char *, __int64))(v8 + 40))(v7, v9); } v10 = *(cocos2d::CCArray **)(a1 + 1048); if ( v10 ) { if ( v4 < (int)cocos2d::CCArray::count(v10) ) { v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1048), v4); if ( v11 ) { if ( v4 == v3 ) { v13 = -160; v12 = &v13; v14 = 96; } else { v12 = &v15; v15 = -1; v16 = -1; } (**((void (__fastcall ***)(__int64, __int16 *))v11 + 46))((__int64)v11 + 368, v12); } } } ++v4; } while ( v4 < v5 ); } } }