{"type": "func", "start": 5370242640, "end": 5370242956, "name": "EasingSelectPopup::refreshCellHighlight", "pseudocode": "// \n// EasingSelectPopup::refreshCellHighlight from 0x140176650 to 0x14017678c (316 bytes)\n// \n// 5 xrefs:\n// > EasingSelectPopup::init @ 0x1401763e6\n// > EasingSelectPopup::onCell @ 0x140176826\n// > <???> @ 0x14089d478\n// > <???> @ 0x14089d4ac\n// > <???> @ 0x140918518\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:33 +0000\n// \n\nvoid __fastcall EasingSelectPopup::refreshCellHighlight(__int64 a1)\n{\n  _DWORD *v2; // rcx\n  int v3; // esi\n  signed int v4; // ebx\n  int v5; // ebp\n  struct cocos2d::CCObject *v6; // rax\n  char *v7; // rcx\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  cocos2d::CCArray *v10; // rcx\n  struct cocos2d::CCObject *v11; // rcx\n  __int16 *v12; // rdx\n  __int16 v13; // [rsp+40h] [rbp+8h] BYREF\n  char v14; // [rsp+42h] [rbp+Ah]\n  __int16 v15; // [rsp+48h] [rbp+10h] BYREF\n  char v16; // [rsp+4Ah] [rbp+12h]\n\n  v2 = *(_DWORD **)(a1 + 1000);\n  if ( v2 && *(_QWORD *)(a1 + 1040) )\n  {\n    v3 = *(_DWORD *)(a1 + 1012) == 30 ? v2[204] : (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1168LL))(v2);\n    v4 = 0;\n    v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 1040));\n    if ( v5 > 0 )\n    {\n      do\n      {\n        v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1040), v4);\n        if ( v6 )\n        {\n          v7 = (char *)v6 + 320;\n          v8 = *((_QWORD *)v6 + 40);\n          v9 = 65;\n          if ( v4 == v3 )\n            v9 = 125;\n          (*(void (__fastcall **)(char *, __int64))(v8 + 40))(v7, v9);\n        }\n        v10 = *(cocos2d::CCArray **)(a1 + 1048);\n        if ( v10 )\n        {\n          if ( v4 < (int)cocos2d::CCArray::count(v10) )\n          {\n            v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 1048), v4);\n            if ( v11 )\n            {\n              if ( v4 == v3 )\n              {\n                v13 = -160;\n                v12 = &v13;\n                v14 = 96;\n              }\n              else\n              {\n                v12 = &v15;\n                v15 = -1;\n                v16 = -1;\n              }\n              (**((void (__fastcall ***)(__int64, __int16 *))v11 + 46))((__int64)v11 + 368, v12);\n            }\n          }\n        }\n        ++v4;\n      }\n      while ( v4 < v5 );\n    }\n  }\n}", "assembly": "; \n; EasingSelectPopup::refreshCellHighlight from 0x140176650 to 0x14017678c (316 bytes)\n; \n; 5 xrefs:\n; > EasingSelectPopup::init @ 0x1401763e6\n; > EasingSelectPopup::onCell @ 0x140176826\n; > <???> @ 0x14089d478\n; > <???> @ 0x14089d4ac\n; > <???> @ 0x140918518\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:33 +0000\n; \npush    rdi                                                            ; +0x0, 0x140176650\nsub     rsp, 30h                                                       ; +0x2, 0x140176652\nmov     rdi, rcx                                                       ; +0x6, 0x140176656\nmov     rcx, [rcx+3E8h]                                                ; +0x9, 0x140176659\ntest    rcx, rcx                                                       ; +0x10, 0x140176660\njz      loc_140176786                                                  ; +0x13, 0x140176663\ncmp     qword ptr [rdi+410h], 0                                        ; +0x19, 0x140176669\njz      loc_140176786                                                  ; +0x21, 0x140176671\nmov     edx, [rdi+3F4h]                                                ; +0x27, 0x140176677\nmov     [rsp+38h+arg_10], rbx                                          ; +0x2d, 0x14017667d\nmov     [rsp+38h+arg_18], rbp                                          ; +0x32, 0x140176682\nmov     [rsp+38h+var_10], rsi                                          ; +0x37, 0x140176687\ncmp     edx, 1Eh                                                       ; +0x3c, 0x14017668c\njnz     short loc_140176699                                            ; +0x3f, 0x14017668f\nmov     esi, [rcx+330h]                                                ; +0x41, 0x140176691\njmp     short loc_1401766A6                                            ; +0x47, 0x140176697\nmov     rax, [rcx]                                                     ; +0x49, 0x140176699\ncall    qword ptr [rax+490h]                                           ; +0x4c, 0x14017669c\ncvttss2si esi, xmm0                                                    ; +0x52, 0x1401766a2\nmov     rcx, [rdi+410h]                                                ; +0x56, 0x1401766a6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5d, 0x1401766ad\nxor     ebx, ebx                                                       ; +0x63, 0x1401766b3\nmov     ebp, eax                                                       ; +0x65, 0x1401766b5\ntest    eax, eax                                                       ; +0x67, 0x1401766b7\njle     loc_140176777                                                  ; +0x69, 0x1401766b9\nmov     [rsp+38h+var_18], r14                                          ; +0x6f, 0x1401766bf\nmov     r14d, 7Dh ; '}'                                                ; +0x74, 0x1401766c4\nnop     word ptr [rax+rax+00h]                                         ; +0x7a, 0x1401766ca\nmov     rcx, [rdi+410h]                                                ; +0x80, 0x1401766d0\nmov     edx, ebx                                                       ; +0x87, 0x1401766d7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x89, 0x1401766d9\ntest    rax, rax                                                       ; +0x8f, 0x1401766df\njz      short loc_1401766FC                                            ; +0x92, 0x1401766e2\nlea     rcx, [rax+140h]                                                ; +0x94, 0x1401766e4\ncmp     ebx, esi                                                       ; +0x9b, 0x1401766eb\nmov     rax, [rcx]                                                     ; +0x9d, 0x1401766ed\nmov     edx, 41h ; 'A'                                                 ; +0xa0, 0x1401766f0\ncmovz   edx, r14d                                                      ; +0xa5, 0x1401766f5\ncall    qword ptr [rax+28h]                                            ; +0xa9, 0x1401766f9\nmov     rcx, [rdi+418h]                                                ; +0xac, 0x1401766fc\ntest    rcx, rcx                                                       ; +0xb3, 0x140176703\njz      short loc_140176768                                            ; +0xb6, 0x140176706\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xb8, 0x140176708\ncmp     ebx, eax                                                       ; +0xbe, 0x14017670e\njge     short loc_140176768                                            ; +0xc0, 0x140176710\nmov     rcx, [rdi+418h]                                                ; +0xc2, 0x140176712\nmov     edx, ebx                                                       ; +0xc9, 0x140176719\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xcb, 0x14017671b\nmov     rcx, rax                                                       ; +0xd1, 0x140176721\ntest    rax, rax                                                       ; +0xd4, 0x140176724\njz      short loc_140176768                                            ; +0xd7, 0x140176727\ncmp     ebx, esi                                                       ; +0xd9, 0x140176729\njnz     short loc_140176740                                            ; +0xdb, 0x14017672b\nmov     [rsp+38h+arg_0], 0FF60h                                        ; +0xdd, 0x14017672d\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xe4, 0x140176734\nmov     [rsp+38h+arg_2], 60h ; '`'                                     ; +0xe9, 0x140176739\njmp     short loc_14017675C                                            ; +0xee, 0x14017673e\nmovzx   eax, cs:word_140702F94                                         ; +0xf0, 0x140176740\nlea     rdx, [rsp+38h+arg_8]                                           ; +0xf7, 0x140176747\nmov     [rsp+38h+arg_8], ax                                            ; +0xfc, 0x14017674c\nmovzx   eax, cs:byte_140702F96                                         ; +0x101, 0x140176751\nmov     [rsp+38h+arg_A], al                                            ; +0x108, 0x140176758\nadd     rcx, 170h                                                      ; +0x10c, 0x14017675c\nmov     rax, [rcx]                                                     ; +0x113, 0x140176763\ncall    qword ptr [rax]                                                ; +0x116, 0x140176766\ninc     ebx                                                            ; +0x118, 0x140176768\ncmp     ebx, ebp                                                       ; +0x11a, 0x14017676a\njl      loc_1401766D0                                                  ; +0x11c, 0x14017676c\nmov     r14, [rsp+38h+var_18]                                          ; +0x122, 0x140176772\nmov     rsi, [rsp+38h+var_10]                                          ; +0x127, 0x140176777\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x12c, 0x14017677c\nmov     rbp, [rsp+38h+arg_18]                                          ; +0x131, 0x140176781\nadd     rsp, 30h                                                       ; +0x136, 0x140176786\npop     rdi                                                            ; +0x13a, 0x14017678a\nretn                                                                   ; +0x13b, 0x14017678b", "xrefs": ["EasingSelectPopup::init @ 0x1401763e6", "EasingSelectPopup::onCell @ 0x140176826", "<???> @ 0x14089d478", "<???> @ 0x14089d4ac", "<???> @ 0x140918518"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}