{"type": "func", "start": 5370243136, "end": 5370243480, "name": "EasingSelectPopup::refreshRateVisual", "pseudocode": "// \n// EasingSelectPopup::refreshRateVisual from 0x140176840 to 0x140176998 (344 bytes)\n// \n// 3 xrefs:\n// > EasingSelectPopup::init @ 0x1401765d6\n// > EasingSelectPopup::onCell @ 0x14017682e\n// > <???> @ 0x140918578\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::refreshRateVisual(__int64 a1)\n{\n  _DWORD *v2; // rcx\n  int v3; // eax\n  char v4; // cl\n  __int64 v5; // rdx\n  cocos2d::CCDictionary *v6; // rcx\n  struct cocos2d::CCObject *v7; // rax\n  struct cocos2d::CCObject *v8; // rax\n  struct cocos2d::CCObject *v9; // rax\n  struct cocos2d::CCObject *v10; // rbx\n  __int64 v11; // rcx\n  __int64 v12; // rcx\n  __int16 v13; // [rsp+30h] [rbp+8h] BYREF\n  char v14; // [rsp+32h] [rbp+Ah]\n  __int16 v15; // [rsp+38h] [rbp+10h]\n\n  v2 = *(_DWORD **)(a1 + 1000);\n  if ( v2 )\n  {\n    if ( *(_DWORD *)(a1 + 1012) == 30 )\n      v3 = v2[204];\n    else\n      v3 = (int)(*(float (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1168LL))(v2);\n    switch ( v3 )\n    {\n      case 1:\n      case 2:\n      case 3:\n      case 4:\n      case 5:\n      case 6:\n        v15 = -1;\n        v4 = -1;\n        break;\n      default:\n        v15 = -20561;\n        v4 = -81;\n        break;\n    }\n    v5 = *(int *)(a1 + 1016);\n    v14 = v4;\n    v6 = *(cocos2d::CCDictionary **)(a1 + 824);\n    v13 = v15;\n    v7 = cocos2d::CCDictionary::objectForKey(v6, v5);\n    if ( v7 )\n      (**((void (__fastcall ***)(__int64, __int16 *))v7 + 46))((__int64)v7 + 368, &v13);\n    v8 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 760), *(int *)(a1 + 1016));\n    if ( v8 )\n    {\n      *(_WORD *)((char *)v8 + 575) = v13;\n      *((_BYTE *)v8 + 577) = v14;\n      CCTextInputNode::refreshLabel((__int64)v8);\n    }\n    v9 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 768), *(int *)(a1 + 1016));\n    v10 = v9;\n    if ( v9 )\n    {\n      v11 = *((_QWORD *)v9 + 53);\n      if ( v11 )\n        (**(void (__fastcall ***)(__int64, __int16 *))(v11 + 320))(v11 + 320, &v13);\n      v12 = *(_QWORD *)(*((_QWORD *)v10 + 51) + 456LL);\n      if ( v12 )\n        (**(void (__fastcall ***)(__int64, __int16 *))(v12 + 320))(v12 + 320, &v13);\n    }\n  }\n}", "assembly": "; \n; EasingSelectPopup::refreshRateVisual from 0x140176840 to 0x140176998 (344 bytes)\n; \n; 3 xrefs:\n; > EasingSelectPopup::init @ 0x1401765d6\n; > EasingSelectPopup::onCell @ 0x14017682e\n; > <???> @ 0x140918578\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    rbx                                                            ; +0x0, 0x140176840\nsub     rsp, 20h                                                       ; +0x2, 0x140176842\nmov     rbx, rcx                                                       ; +0x6, 0x140176846\nmov     rcx, [rcx+3E8h]                                                ; +0x9, 0x140176849\ntest    rcx, rcx                                                       ; +0x10, 0x140176850\njz      loc_14017697A                                                  ; +0x13, 0x140176853\nmov     edx, [rbx+3F4h]                                                ; +0x19, 0x140176859\ncmp     edx, 1Eh                                                       ; +0x1f, 0x14017685f\njnz     short loc_14017686C                                            ; +0x22, 0x140176862\nmov     eax, [rcx+330h]                                                ; +0x24, 0x140176864\njmp     short loc_140176879                                            ; +0x2a, 0x14017686a\nmov     rax, [rcx]                                                     ; +0x2c, 0x14017686c\ncall    qword ptr [rax+490h]                                           ; +0x2f, 0x14017686f\ncvttss2si eax, xmm0                                                    ; +0x35, 0x140176875\ndec     eax; switch 6 cases                                            ; +0x39, 0x140176879\ncmp     eax, 5                                                         ; +0x3b, 0x14017687b\nja      short def_140176893; jumptable 0000000140176893 default case   ; +0x3e, 0x14017687e\nlea     rdx, cs:140000000h                                             ; +0x40, 0x140176880\ncdqe                                                                   ; +0x47, 0x140176887\nmov     ecx, ds:(jpt_140176893 - 140000000h)[rdx+rax*4]                ; +0x49, 0x140176889\nadd     rcx, rdx                                                       ; +0x50, 0x140176890\njmp     rcx; switch jump                                               ; +0x53, 0x140176893\nmov     [rsp+28h+arg_8], 0FFFFh; jumptable 0000000140176893 cases 1-6  ; +0x55, 0x140176895\nmov     cl, 0FFh                                                       ; +0x5c, 0x14017689c\njmp     short loc_1401768A9                                            ; +0x5e, 0x14017689e\nmov     [rsp+28h+arg_8], 0AFAFh; jumptable 0000000140176893 default case ; +0x60, 0x1401768a0\nmov     cl, 0AFh                                                       ; +0x67, 0x1401768a7\nmovzx   eax, [rsp+28h+arg_8]                                           ; +0x69, 0x1401768a9\nmovsxd  rdx, dword ptr [rbx+3F8h]                                      ; +0x6e, 0x1401768ae\nmov     [rsp+28h+arg_2], cl                                            ; +0x75, 0x1401768b5\nmov     rcx, [rbx+338h]                                                ; +0x79, 0x1401768b9\nmov     [rsp+28h+arg_0], ax                                            ; +0x80, 0x1401768c0\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x85, 0x1401768c5\ntest    rax, rax                                                       ; +0x8b, 0x1401768cb\njz      short loc_1401768E1                                            ; +0x8e, 0x1401768ce\nlea     rcx, [rax+170h]                                                ; +0x90, 0x1401768d0\nmov     rax, [rcx]                                                     ; +0x97, 0x1401768d7\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x9a, 0x1401768da\ncall    qword ptr [rax]                                                ; +0x9f, 0x1401768df\nmovsxd  rdx, dword ptr [rbx+3F8h]                                      ; +0xa1, 0x1401768e1\nmov     rcx, [rbx+2F8h]                                                ; +0xa8, 0x1401768e8\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0xaf, 0x1401768ef\ntest    rax, rax                                                       ; +0xb5, 0x1401768f5\njz      short loc_140176919                                            ; +0xb8, 0x1401768f8\nmovzx   ecx, [rsp+28h+arg_0]                                           ; +0xba, 0x1401768fa\nmov     [rax+23Fh], cx                                                 ; +0xbf, 0x1401768ff\nmovzx   ecx, [rsp+28h+arg_2]                                           ; +0xc6, 0x140176906\nmov     [rax+241h], cl                                                 ; +0xcb, 0x14017690b\nmov     rcx, rax                                                       ; +0xd1, 0x140176911\ncall    CCTextInputNode__refreshLabel                                  ; +0xd4, 0x140176914\nmovsxd  rdx, dword ptr [rbx+3F8h]                                      ; +0xd9, 0x140176919\nmov     rcx, [rbx+300h]                                                ; +0xe0, 0x140176920\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0xe7, 0x140176927\nmov     rbx, rax                                                       ; +0xed, 0x14017692d\ntest    rax, rax                                                       ; +0xf0, 0x140176930\njz      short loc_14017697A                                            ; +0xf3, 0x140176933\nmov     rcx, [rax+1A8h]                                                ; +0xf5, 0x140176935\ntest    rcx, rcx                                                       ; +0xfc, 0x14017693c\njz      short loc_140176956                                            ; +0xff, 0x14017693f\nadd     rcx, 140h                                                      ; +0x101, 0x140176941\nmov     rdx, [rcx]                                                     ; +0x108, 0x140176948\nmov     r8, [rdx]                                                      ; +0x10b, 0x14017694b\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x10e, 0x14017694e\ncall    r8                                                             ; +0x113, 0x140176953\nmov     rax, [rbx+198h]                                                ; +0x116, 0x140176956\nmov     rcx, [rax+1C8h]                                                ; +0x11d, 0x14017695d\ntest    rcx, rcx                                                       ; +0x124, 0x140176964\njz      short loc_14017697A                                            ; +0x127, 0x140176967\nadd     rcx, 140h                                                      ; +0x129, 0x140176969\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x130, 0x140176970\nmov     rax, [rcx]                                                     ; +0x135, 0x140176975\ncall    qword ptr [rax]                                                ; +0x138, 0x140176978\nadd     rsp, 20h                                                       ; +0x13a, 0x14017697a\npop     rbx                                                            ; +0x13e, 0x14017697e\nretn                                                                   ; +0x13f, 0x14017697f\ndd offset loc_140176895 - 140000000h; jump table for switch statement  ; +0x140, 0x140176980", "xrefs": ["EasingSelectPopup::init @ 0x1401765d6", "EasingSelectPopup::onCell @ 0x14017682e", "<???> @ 0x140918578"], "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"}