{"type": "func", "start": 4295299048, "end": 4295299176, "name": "CustomizeObjectSettingsPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x100050fe8 to 0x100051068 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100771d28\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 __fastcall CustomizeObjectSettingsPopup::onCustomToggleTriggerValue(\n        CustomizeObjectSettingsPopup *a1,\n        cocos2d::CCObject *a2)\n{\n  int v3; // w20\n\n  a1->m_settingsChanged = 1;\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  SetupTriggerPopup::updateValue(a1, 497, (float)v3);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v3 == 0);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v3 == 1);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v3 == 2);\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x100050fe8 to 0x100051068 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100771d28\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100050fe8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100050fec\nADD             X29, SP, #0x10                                         ; +0x8, 0x100050ff0\nMOV             X19, X0                                                ; +0xc, 0x100050ff4\nMOV             W8, #1                                                 ; +0x10, 0x100050ff8\nSTRB            W8, [X0,#0x3B8]                                        ; +0x14, 0x100050ffc\nLDR             X8, [X1]                                               ; +0x18, 0x100051000\nLDR             X8, [X8,#0x40]                                         ; +0x1c, 0x100051004\nMOV             X0, X1                                                 ; +0x20, 0x100051008\nBLR             X8                                                     ; +0x24, 0x10005100c\nMOV             X20, X0                                                ; +0x28, 0x100051010\nSCVTF           S0, W0                                                 ; +0x2c, 0x100051014\nMOV             X0, X19                                                ; +0x30, 0x100051018\nMOV             W1, #0x1F1                                             ; +0x34, 0x10005101c\nBL              SetupTriggerPopup__updateValue                         ; +0x38, 0x100051020\nCMP             W20, #0                                                ; +0x3c, 0x100051024\nCSET            W2, EQ                                                 ; +0x40, 0x100051028\nMOV             X0, X19                                                ; +0x44, 0x10005102c\nMOV             W1, #0                                                 ; +0x48, 0x100051030\nBL              SetupTriggerPopup__updateCustomToggleTrigger           ; +0x4c, 0x100051034\nCMP             W20, #1                                                ; +0x50, 0x100051038\nCSET            W2, EQ                                                 ; +0x54, 0x10005103c\nMOV             X0, X19                                                ; +0x58, 0x100051040\nMOV             W1, #1                                                 ; +0x5c, 0x100051044\nBL              SetupTriggerPopup__updateCustomToggleTrigger           ; +0x60, 0x100051048\nCMP             W20, #2                                                ; +0x64, 0x10005104c\nCSET            W2, EQ                                                 ; +0x68, 0x100051050\nMOV             X0, X19                                                ; +0x6c, 0x100051054\nMOV             W1, #2                                                 ; +0x70, 0x100051058\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x10005105c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100051060\nB               SetupTriggerPopup__updateCustomToggleTrigger           ; +0x7c, 0x100051064", "xrefs": ["<???> @ 0x100771d28"], "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"}