{"type": "func", "start": 13349620, "end": 13349924, "name": "EasingSelectPopup::refreshRateVisual", "pseudocode": "// \n// EasingSelectPopup::refreshRateVisual from 0xcbb2f4 to 0xcbb424 (304 bytes)\n// \n// 4 xrefs:\n// > EasingSelectPopup::onCell @ 0xcbb49c\n// > EasingSelectPopup::onCell @ 0xcbb4c8\n// > EasingSelectPopup::init @ 0xcbbb38\n// > <???> @ 0x103360\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::refreshRateVisual(EasingSelectPopup *this)\n{\n  unsigned int *v2; // x0\n  float v3; // s0\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  Slider *v7; // x19\n  __int64 v8; // x0\n  __int64 Thumb; // x0\n  __int64 v11; // [xsp+20h] [xbp+20h] BYREF\n\n  v2 = *((unsigned int **)this + 127);\n  if ( !v2 )\n    return _stack_chk_guard;\n  if ( *((_DWORD *)this + 257) == 30 )\n  {\n    if ( GameToolbox::isRateEasing((GameToolbox *)v2[204]) )\n      goto LABEL_4;\nLABEL_16:\n    LOWORD(v11) = -20561;\n    BYTE2(v11) = -81;\n    goto LABEL_5;\n  }\n  v3 = (*(float (__fastcall **)(unsigned int *))(*(_QWORD *)v2 + 1464LL))(v2);\n  if ( !GameToolbox::isRateEasing((GameToolbox *)(unsigned int)(int)v3) )\n    goto LABEL_16;\nLABEL_4:\n  LOWORD(v11) = -1;\n  BYTE2(v11) = -1;\nLABEL_5:\n  v4 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 103), *((int *)this + 258));\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 1072LL))(v4, &v11);\n  v5 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 95), *((int *)this + 258));\n  if ( v5 )\n    CCTextInputNode::setLabelNormalColor(v5, v11);\n  v6 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 96), *((int *)this + 258));\n  v7 = (Slider *)v6;\n  if ( v6 )\n  {\n    v8 = *(_QWORD *)(v6 + 424);\n    if ( v8 )\n      (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 960LL))(v8, &v11);\n    if ( Slider::getThumb(v7) )\n    {\n      Thumb = Slider::getThumb(v7);\n      (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)Thumb + 960LL))(Thumb, &v11);\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EasingSelectPopup::refreshRateVisual from 0xcbb2f4 to 0xcbb424 (304 bytes)\n; \n; 4 xrefs:\n; > EasingSelectPopup::onCell @ 0xcbb49c\n; > EasingSelectPopup::onCell @ 0xcbb4c8\n; > EasingSelectPopup::init @ 0xcbbb38\n; > <???> @ 0x103360\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_30]!                                ; +0x0, 0xcbb2f4\nMOV             X29, SP                                                ; +0x4, 0xcbb2f8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xcbb2fc\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xcbb300\nMOV             X19, X0                                                ; +0x10, 0xcbb304\nLDR             X0, [X0,#0x3F8]                                        ; +0x14, 0xcbb308\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xcbb30c\nLDR             X1, [X1]                                               ; +0x1c, 0xcbb310\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0xcbb314\nCBZ             X0, loc_CBB3DC                                         ; +0x24, 0xcbb318\nLDR             W1, [X19,#0x404]; int                                  ; +0x28, 0xcbb31c\nCMP             W1, #0x1E                                              ; +0x2c, 0xcbb320\nB.EQ            loc_CBB3FC                                             ; +0x30, 0xcbb324\nLDR             X2, [X0]                                               ; +0x34, 0xcbb328\nLDR             X2, [X2,#0x5B8]                                        ; +0x38, 0xcbb32c\nBLR             X2                                                     ; +0x3c, 0xcbb330\nFCVTZS          W0, S0; this                                           ; +0x40, 0xcbb334\nBL              _ZN11GameToolbox12isRateEasingEi; GameToolbox::isRateEasing(int) ; +0x44, 0xcbb338\nUXTB            W0, W0                                                 ; +0x48, 0xcbb33c\nCBZ             W0, loc_CBB40C                                         ; +0x4c, 0xcbb340\nMOV             W0, #0xFFFFFFFF                                        ; +0x50, 0xcbb344\nSTRB            W0, [X29,#0x30+var_10]                                 ; +0x54, 0xcbb348\nSTRB            W0, [X29,#0x30+var_10+1]                               ; +0x58, 0xcbb34c\nSTRB            W0, [X29,#0x30+var_10+2]                               ; +0x5c, 0xcbb350\nLDR             X0, [X19,#0x338]; this                                 ; +0x60, 0xcbb354\nLDRSW           X1, [X19,#0x408]; __int64                              ; +0x64, 0xcbb358\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x68, 0xcbb35c\nCBZ             X0, loc_CBB374                                         ; +0x6c, 0xcbb360\nLDR             X2, [X0]                                               ; +0x70, 0xcbb364\nADD             X1, X29, #0x30+var_10                                  ; +0x74, 0xcbb368\nLDR             X2, [X2,#0x430]                                        ; +0x78, 0xcbb36c\nBLR             X2                                                     ; +0x7c, 0xcbb370\nLDR             X0, [X19,#0x2F8]; this                                 ; +0x80, 0xcbb374\nLDRSW           X1, [X19,#0x408]; __int64                              ; +0x84, 0xcbb378\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x88, 0xcbb37c\nCBZ             X0, loc_CBB38C                                         ; +0x8c, 0xcbb380\nLDR             X1, [X29,#0x30+var_10]                                 ; +0x90, 0xcbb384\nBL              _ZN15CCTextInputNode19setLabelNormalColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelNormalColor(cocos2d::_ccColor3B) ; +0x94, 0xcbb388\nLDR             X0, [X19,#0x300]; this                                 ; +0x98, 0xcbb38c\nLDRSW           X1, [X19,#0x408]; __int64                              ; +0x9c, 0xcbb390\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xa0, 0xcbb394\nMOV             X19, X0                                                ; +0xa4, 0xcbb398\nCBZ             X0, loc_CBB3DC                                         ; +0xa8, 0xcbb39c\nLDR             X0, [X0,#0x1A8]                                        ; +0xac, 0xcbb3a0\nCBZ             X0, loc_CBB3B8                                         ; +0xb0, 0xcbb3a4\nLDR             X2, [X0]                                               ; +0xb4, 0xcbb3a8\nADD             X1, X29, #0x30+var_10                                  ; +0xb8, 0xcbb3ac\nLDR             X2, [X2,#0x3C0]                                        ; +0xbc, 0xcbb3b0\nBLR             X2                                                     ; +0xc0, 0xcbb3b4\nMOV             X0, X19; this                                          ; +0xc4, 0xcbb3b8\nBL              _ZN6Slider8getThumbEv; Slider::getThumb(void)          ; +0xc8, 0xcbb3bc\nCBZ             X0, loc_CBB3DC                                         ; +0xcc, 0xcbb3c0\nMOV             X0, X19; this                                          ; +0xd0, 0xcbb3c4\nBL              _ZN6Slider8getThumbEv; Slider::getThumb(void)          ; +0xd4, 0xcbb3c8\nLDR             X2, [X0]                                               ; +0xd8, 0xcbb3cc\nADD             X1, X29, #0x30+var_10                                  ; +0xdc, 0xcbb3d0\nLDR             X2, [X2,#0x3C0]                                        ; +0xe0, 0xcbb3d4\nBLR             X2                                                     ; +0xe4, 0xcbb3d8\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xe8, 0xcbb3dc\nLDR             X1, [X29,#0x30+var_8]                                  ; +0xec, 0xcbb3e0\nLDR             X0, [X20]                                              ; +0xf0, 0xcbb3e4\nCMP             X1, X0                                                 ; +0xf4, 0xcbb3e8\nB.NE            loc_CBB420                                             ; +0xf8, 0xcbb3ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xfc, 0xcbb3f0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x100, 0xcbb3f4\nRET                                                                    ; +0x104, 0xcbb3f8\nLDR             W0, [X0,#0x330]; this                                  ; +0x108, 0xcbb3fc\nBL              _ZN11GameToolbox12isRateEasingEi; GameToolbox::isRateEasing(int) ; +0x10c, 0xcbb400\nUXTB            W0, W0                                                 ; +0x110, 0xcbb404\nCBNZ            W0, loc_CBB344                                         ; +0x114, 0xcbb408\nMOV             W0, #0xFFFFFFAF                                        ; +0x118, 0xcbb40c\nSTRB            W0, [X29,#0x30+var_10]                                 ; +0x11c, 0xcbb410\nSTRB            W0, [X29,#0x30+var_10+1]                               ; +0x120, 0xcbb414\nSTRB            W0, [X29,#0x30+var_10+2]                               ; +0x124, 0xcbb418\nB               loc_CBB354                                             ; +0x128, 0xcbb41c\nBL              .__stack_chk_fail                                      ; +0x12c, 0xcbb420", "xrefs": ["EasingSelectPopup::onCell @ 0xcbb49c", "EasingSelectPopup::onCell @ 0xcbb4c8", "EasingSelectPopup::init @ 0xcbbb38", "<???> @ 0x103360"], "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"}