{"type": "func", "start": 5373418096, "end": 5373418243, "name": "SetupTriggerPopup::onCustomEaseArrow", "pseudocode": "// \n// SetupTriggerPopup::onCustomEaseArrow from 0x14047da70 to 0x14047db03 (147 bytes)\n// \n// 3 xrefs:\n// > SetupTriggerPopup::onCustomEaseArrowUp @ 0x14047da2f\n// > SetupTriggerPopup::onCustomEaseArrowDown @ 0x14047da5f\n// > <???> @ 0x1406db8f4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid SetupTriggerPopup::onCustomEaseArrow(SetupTriggerPopup *a1, int a2, bool a3)\n{\n  __int64 v4; // rsi\n  int v5; // ebx\n  struct cocos2d::CCObject *v6; // rax\n\n  v4 = a2;\n  v5 = (int)a1->getValue(a1, a2) + 2 * a3 - 1;\n  if ( v5 < 0 )\n    v5 = 0;\n  if ( v5 > 18 )\n    v5 = 18;\n  SetupTriggerPopup::valueChanged(a1, v4, (float)v5);\n  SetupTriggerPopup::updateCustomEaseLabel(a1, v4, v5);\n  v6 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingTags, v4);\n  if ( v6 )\n    SetupTriggerPopup::toggleCustomEaseRateVisibility(a1, v4, (int)v6[1].__vftable);\n}", "assembly": "; \n; SetupTriggerPopup::onCustomEaseArrow from 0x14047da70 to 0x14047db03 (147 bytes)\n; \n; 3 xrefs:\n; > SetupTriggerPopup::onCustomEaseArrowUp @ 0x14047da2f\n; > SetupTriggerPopup::onCustomEaseArrowDown @ 0x14047da5f\n; > <???> @ 0x1406db8f4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14047da70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14047da75\npush    rdi                                                            ; +0xa, 0x14047da7a\nsub     rsp, 20h                                                       ; +0xb, 0x14047da7b\nmov     rax, [rcx]                                                     ; +0xf, 0x14047da7f\nmov     rdi, rcx                                                       ; +0x12, 0x14047da82\nmovsxd  rsi, edx                                                       ; +0x15, 0x14047da85\nmov     edx, esi                                                       ; +0x18, 0x14047da88\nmovzx   ebx, r8b                                                       ; +0x1a, 0x14047da8a\ncall    qword ptr [rax+470h]                                           ; +0x1e, 0x14047da8e\nxor     eax, eax                                                       ; +0x24, 0x14047da94\nlea     ebx, ds:0FFFFFFFFFFFFFFFFh[rbx*2]                              ; +0x26, 0x14047da96\ncvttss2si r9d, xmm0                                                    ; +0x2d, 0x14047da9d\nmov     edx, esi                                                       ; +0x32, 0x14047daa2\nmov     rcx, rdi                                                       ; +0x34, 0x14047daa4\nadd     ebx, r9d                                                       ; +0x37, 0x14047daa7\ncmovs   ebx, eax                                                       ; +0x3a, 0x14047daaa\nmov     eax, 12h                                                       ; +0x3d, 0x14047daad\ncmp     ebx, eax                                                       ; +0x42, 0x14047dab2\ncmovg   ebx, eax                                                       ; +0x44, 0x14047dab4\nmovd    xmm2, ebx                                                      ; +0x47, 0x14047dab7\ncvtdq2ps xmm2, xmm2                                                    ; +0x4b, 0x14047dabb\ncall    SetupTriggerPopup__valueChanged                                ; +0x4e, 0x14047dabe\nmov     r8d, ebx                                                       ; +0x53, 0x14047dac3\nmov     edx, esi                                                       ; +0x56, 0x14047dac6\nmov     rcx, rdi                                                       ; +0x58, 0x14047dac8\ncall    SetupTriggerPopup__updateCustomEaseLabel                       ; +0x5b, 0x14047dacb\nmov     rcx, [rdi+368h]                                                ; +0x60, 0x14047dad0\nmov     rdx, rsi                                                       ; +0x67, 0x14047dad7\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x6a, 0x14047dada\ntest    rax, rax                                                       ; +0x70, 0x14047dae0\njz      short loc_14047DAF3                                            ; +0x73, 0x14047dae3\nmov     r8d, [rax+38h]                                                 ; +0x75, 0x14047dae5\nmov     edx, esi                                                       ; +0x79, 0x14047dae9\nmov     rcx, rdi                                                       ; +0x7b, 0x14047daeb\ncall    SetupTriggerPopup__toggleCustomEaseRateVisibility              ; +0x7e, 0x14047daee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x83, 0x14047daf3\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x88, 0x14047daf8\nadd     rsp, 20h                                                       ; +0x8d, 0x14047dafd\npop     rdi                                                            ; +0x91, 0x14047db01\nretn                                                                   ; +0x92, 0x14047db02", "xrefs": ["SetupTriggerPopup::onCustomEaseArrowUp @ 0x14047da2f", "SetupTriggerPopup::onCustomEaseArrowDown @ 0x14047da5f", "<???> @ 0x1406db8f4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}