{"type": "func", "start": 13349284, "end": 13349620, "name": "EasingSelectPopup::refreshCellHighlight", "pseudocode": "// \n// EasingSelectPopup::refreshCellHighlight from 0xcbb1a4 to 0xcbb2f4 (336 bytes)\n// \n// 4 xrefs:\n// > EasingSelectPopup::onCell @ 0xcbb48c\n// > EasingSelectPopup::onCell @ 0xcbb4b8\n// > EasingSelectPopup::init @ 0xcbb9dc\n// > <???> @ 0xe3098\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:14 +0000\n// \n\n__int64 __fastcall EasingSelectPopup::refreshCellHighlight(EasingSelectPopup *this)\n{\n  _DWORD *v2; // x2\n  cocos2d::CCArray *v3; // x0\n  int v4; // w22\n  int v5; // w21\n  signed int i; // w19\n  __int64 v7; // x0\n  __int64 v8; // x1\n  cocos2d::CCArray *v9; // x0\n  __int64 v10; // x0\n\n  v2 = *((_DWORD **)this + 127);\n  if ( v2 )\n  {\n    v3 = *((cocos2d::CCArray **)this + 132);\n    if ( v3 )\n    {\n      if ( *((_DWORD *)this + 257) == 30 )\n      {\n        v4 = v2[204];\n      }\n      else\n      {\n        v4 = (int)(*(float (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 1464LL))(*((_QWORD *)this + 127));\n        v3 = *((cocos2d::CCArray **)this + 132);\n      }\n      v5 = cocos2d::CCArray::count(v3);\n      if ( v5 > 0 )\n      {\n        for ( i = 0; i != v5; ++i )\n        {\n          v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), i);\n          if ( v7 )\n          {\n            if ( i == v4 )\n              v8 = 125;\n            else\n              v8 = 65;\n            (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, v8);\n          }\n          v9 = *((cocos2d::CCArray **)this + 133);\n          if ( v9 )\n          {\n            if ( (int)cocos2d::CCArray::count(v9) > i )\n            {\n              v10 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), i);\n              if ( v10 )\n                (*(void (**)(void))(*(_QWORD *)v10 + 1072LL))();\n            }\n          }\n        }\n      }\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EasingSelectPopup::refreshCellHighlight from 0xcbb1a4 to 0xcbb2f4 (336 bytes)\n; \n; 4 xrefs:\n; > EasingSelectPopup::onCell @ 0xcbb48c\n; > EasingSelectPopup::onCell @ 0xcbb4b8\n; > EasingSelectPopup::init @ 0xcbb9dc\n; > <???> @ 0xe3098\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:14 +0000\n; \nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0xcbb1a4\nMOV             X29, SP                                                ; +0x4, 0xcbb1a8\nSTP             X25, X26, [SP,#0x70+var_30]                            ; +0x8, 0xcbb1ac\nADRP            X26, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xcbb1b0\nSTR             X27, [SP,#0x70+var_20]                                 ; +0x10, 0xcbb1b4\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x14, 0xcbb1b8\nMOV             X20, X0                                                ; +0x18, 0xcbb1bc\nLDR             X0, [X26,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xcbb1c0\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x20, 0xcbb1c4\nSTP             X23, X24, [SP,#0x70+var_40]                            ; +0x24, 0xcbb1c8\nLDR             X0, [X0]                                               ; +0x28, 0xcbb1cc\nLDR             X2, [X20,#0x3F8]                                       ; +0x2c, 0xcbb1d0\nSTR             X0, [X29,#0x70+var_8]                                  ; +0x30, 0xcbb1d4\nCBZ             X2, loc_CBB2A4                                         ; +0x34, 0xcbb1d8\nLDR             X0, [X20,#0x420]                                       ; +0x38, 0xcbb1dc\nCBZ             X0, loc_CBB2A4                                         ; +0x3c, 0xcbb1e0\nLDR             W1, [X20,#0x404]                                       ; +0x40, 0xcbb1e4\nCMP             W1, #0x1E                                              ; +0x44, 0xcbb1e8\nB.EQ            loc_CBB2D4                                             ; +0x48, 0xcbb1ec\nLDR             X3, [X2]                                               ; +0x4c, 0xcbb1f0\nMOV             X0, X2                                                 ; +0x50, 0xcbb1f4\nLDR             X2, [X3,#0x5B8]                                        ; +0x54, 0xcbb1f8\nBLR             X2                                                     ; +0x58, 0xcbb1fc\nFCVTZS          W22, S0                                                ; +0x5c, 0xcbb200\nLDR             X0, [X20,#0x420]; this                                 ; +0x60, 0xcbb204\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x64, 0xcbb208\nCMP             W0, WZR                                                ; +0x68, 0xcbb20c\nMOV             W21, W0                                                ; +0x6c, 0xcbb210\nB.LE            loc_CBB2A4                                             ; +0x70, 0xcbb214\nMOV             W19, #0                                                ; +0x74, 0xcbb218\nMOV             W24, #0x7D ; '}'                                       ; +0x78, 0xcbb21c\nMOV             W23, #0x41 ; 'A'                                       ; +0x7c, 0xcbb220\nMOV             W25, #0xFFFFFFFF                                       ; +0x80, 0xcbb224\nMOV             W27, #0x60 ; '`'                                       ; +0x84, 0xcbb228\nLDR             X0, [X20,#0x420]; this                                 ; +0x88, 0xcbb22c\nMOV             W1, W19; unsigned int                                  ; +0x8c, 0xcbb230\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x90, 0xcbb234\nCBZ             X0, loc_CBB250                                         ; +0x94, 0xcbb238\nLDR             X2, [X0]                                               ; +0x98, 0xcbb23c\nCMP             W19, W22                                               ; +0x9c, 0xcbb240\nCSEL            W1, W24, W23, EQ                                       ; +0xa0, 0xcbb244\nLDR             X2, [X2,#0x390]                                        ; +0xa4, 0xcbb248\nBLR             X2                                                     ; +0xa8, 0xcbb24c\nLDR             X0, [X20,#0x428]; this                                 ; +0xac, 0xcbb250\nCBZ             X0, loc_CBB298                                         ; +0xb0, 0xcbb254\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb4, 0xcbb258\nCMP             W0, W19                                                ; +0xb8, 0xcbb25c\nB.LE            loc_CBB298                                             ; +0xbc, 0xcbb260\nLDR             X0, [X20,#0x428]; this                                 ; +0xc0, 0xcbb264\nMOV             W1, W19; unsigned int                                  ; +0xc4, 0xcbb268\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xc8, 0xcbb26c\nCBZ             X0, loc_CBB298                                         ; +0xcc, 0xcbb270\nLDR             X1, [X0]                                               ; +0xd0, 0xcbb274\nCMP             W19, W22                                               ; +0xd4, 0xcbb278\nLDR             X2, [X1,#0x430]                                        ; +0xd8, 0xcbb27c\nB.EQ            loc_CBB2DC                                             ; +0xdc, 0xcbb280\nADD             X1, X29, #0x70+var_10                                  ; +0xe0, 0xcbb284\nSTRB            W25, [X29,#0x70+var_10]                                ; +0xe4, 0xcbb288\nSTRB            W25, [X29,#0x70+var_F]                                 ; +0xe8, 0xcbb28c\nSTRB            W25, [X29,#0x70+var_E]                                 ; +0xec, 0xcbb290\nBLR             X2                                                     ; +0xf0, 0xcbb294\nADD             W19, W19, #1                                           ; +0xf4, 0xcbb298\nCMP             W21, W19                                               ; +0xf8, 0xcbb29c\nB.NE            loc_CBB22C                                             ; +0xfc, 0xcbb2a0\nLDR             X26, [X26,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x100, 0xcbb2a4\nLDR             X1, [X29,#0x70+var_8]                                  ; +0x104, 0xcbb2a8\nLDR             X0, [X26]                                              ; +0x108, 0xcbb2ac\nCMP             X1, X0                                                 ; +0x10c, 0xcbb2b0\nB.NE            loc_CBB2F0                                             ; +0x110, 0xcbb2b4\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x114, 0xcbb2b8\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x118, 0xcbb2bc\nLDP             X23, X24, [SP,#0x70+var_40]                            ; +0x11c, 0xcbb2c0\nLDP             X25, X26, [SP,#0x70+var_30]                            ; +0x120, 0xcbb2c4\nLDR             X27, [SP,#0x70+var_20]                                 ; +0x124, 0xcbb2c8\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x128, 0xcbb2cc\nRET                                                                    ; +0x12c, 0xcbb2d0\nLDR             W22, [X2,#0x330]                                       ; +0x130, 0xcbb2d4\nB               loc_CBB208                                             ; +0x134, 0xcbb2d8\nSTRB            W27, [X29,#0x70+var_10]                                ; +0x138, 0xcbb2dc\nADD             X1, X29, #0x70+var_10                                  ; +0x13c, 0xcbb2e0\nSTRB            W25, [X29,#0x70+var_F]                                 ; +0x140, 0xcbb2e4\nSTRB            W27, [X29,#0x70+var_E]                                 ; +0x144, 0xcbb2e8\nB               loc_CBB294                                             ; +0x148, 0xcbb2ec\nBL              .__stack_chk_fail                                      ; +0x14c, 0xcbb2f0", "xrefs": ["EasingSelectPopup::onCell @ 0xcbb48c", "EasingSelectPopup::onCell @ 0xcbb4b8", "EasingSelectPopup::init @ 0xcbb9dc", "<???> @ 0xe3098"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}