{"type": "func", "start": 5373309424, "end": 5373309549, "name": "SetupTimerControlTriggerPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// SetupTimerControlTriggerPopup::onCustomToggleTriggerValue from 0x1404631f0 to 0x14046326d (125 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405f9010\n// > <???> @ 0x1406daee0\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 SetupTimerControlTriggerPopup::onCustomToggleTriggerValue(\n        SetupTimerControlTriggerPopup *a1,\n        cocos2d::CCObject *a2)\n{\n  int v3; // ebx\n  CCMenuItemToggler *v4; // rax\n  CCMenuItemToggler *v5; // rax\n\n  v3 = a2->getTag(a2);\n  SetupTriggerPopup::updateValue(a1, 472, (float)v3);\n  v4 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 0);\n  if ( v4 )\n    CCMenuItemToggler::toggle(v4, v3 == 0);\n  v5 = (CCMenuItemToggler *)cocos2d::CCDictionary::objectForKey(a1->m_customValueToggles, 1);\n  if ( v5 )\n    CCMenuItemToggler::toggle(v5, v3 == 1);\n}", "assembly": "; \n; SetupTimerControlTriggerPopup::onCustomToggleTriggerValue from 0x1404631f0 to 0x14046326d (125 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405f9010\n; > <???> @ 0x1406daee0\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, 0x1404631f0\npush    rdi                                                            ; +0x5, 0x1404631f5\nsub     rsp, 20h                                                       ; +0x6, 0x1404631f6\nmov     rax, [rdx]                                                     ; +0xa, 0x1404631fa\nmov     rdi, rcx                                                       ; +0xd, 0x1404631fd\nmov     rcx, rdx                                                       ; +0x10, 0x140463200\ncall    qword ptr [rax+38h]                                            ; +0x13, 0x140463203\nmov     edx, 1D8h                                                      ; +0x16, 0x140463206\nmov     rcx, rdi                                                       ; +0x1b, 0x14046320b\nmov     ebx, eax                                                       ; +0x1e, 0x14046320e\nmovd    xmm2, eax                                                      ; +0x20, 0x140463210\ncvtdq2ps xmm2, xmm2                                                    ; +0x24, 0x140463214\ncall    SetupTriggerPopup__updateValue                                 ; +0x27, 0x140463217\nmov     rcx, [rdi+2E8h]                                                ; +0x2c, 0x14046321c\nxor     edx, edx                                                       ; +0x33, 0x140463223\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x35, 0x140463225\ntest    rax, rax                                                       ; +0x3b, 0x14046322b\njz      short loc_14046323D                                            ; +0x3e, 0x14046322e\ntest    ebx, ebx                                                       ; +0x40, 0x140463230\nmov     rcx, rax                                                       ; +0x42, 0x140463232\nsetz    dl                                                             ; +0x45, 0x140463235\ncall    CCMenuItemToggler__toggle                                      ; +0x48, 0x140463238\nmov     rcx, [rdi+2E8h]                                                ; +0x4d, 0x14046323d\nmov     edx, 1                                                         ; +0x54, 0x140463244\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x59, 0x140463249\ntest    rax, rax                                                       ; +0x5f, 0x14046324f\njz      short loc_140463262                                            ; +0x62, 0x140463252\ncmp     ebx, 1                                                         ; +0x64, 0x140463254\nmov     rcx, rax                                                       ; +0x67, 0x140463257\nsetz    dl                                                             ; +0x6a, 0x14046325a\ncall    CCMenuItemToggler__toggle                                      ; +0x6d, 0x14046325d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x72, 0x140463262\nadd     rsp, 20h                                                       ; +0x77, 0x140463267\npop     rdi                                                            ; +0x7b, 0x14046326b\nretn                                                                   ; +0x7c, 0x14046326c", "xrefs": ["<???> @ 0x1405f9010", "<???> @ 0x1406daee0"], "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"}