{"type": "func", "start": 5759086, "end": 5759174, "name": "CustomizeObjectSettingsPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x57e06e to 0x57e0c6 (88 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:50 +0000\n// \n\nint __fastcall CustomizeObjectSettingsPopup::onCustomToggleTriggerValue(\n        CustomizeObjectSettingsPopup *this,\n        cocos2d::CCObject *a2)\n{\n  int v3; // r5\n\n  *((_BYTE *)this + 716) = 1;\n  v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  SetupTriggerPopup::updateValue(this, 497, (float)v3);\n  SetupTriggerPopup::updateCustomToggleTrigger(this, 0, v3 == 0);\n  SetupTriggerPopup::updateCustomToggleTrigger(this, 1, v3 == 1);\n  return SetupTriggerPopup::updateCustomToggleTrigger(this, 2, v3 == 2);\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x57e06e to 0x57e0c6 (88 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:50 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x57e06e\nMOVS            R6, #1                                                 ; +0x2, 0x57e070\nSTRB.W          R6, [R0,#0x2CC]                                        ; +0x4, 0x57e072\nMOV             R4, R0                                                 ; +0x8, 0x57e076\nLDR             R3, [R1]                                               ; +0xa, 0x57e078\nMOV             R0, R1                                                 ; +0xc, 0x57e07a\nLDR             R3, [R3,#0x20]                                         ; +0xe, 0x57e07c\nBLX             R3                                                     ; +0x10, 0x57e07e\nMOVW            R1, #0x1F1; int                                        ; +0x12, 0x57e080\nMOV             R5, R0                                                 ; +0x16, 0x57e084\nMOV             R0, R4; this                                           ; +0x18, 0x57e086\nVMOV            S15, R5                                                ; +0x1a, 0x57e088\nVCVT.F32.S32    S15, S15                                               ; +0x1e, 0x57e08c\nVMOV            R2, S15; float                                         ; +0x22, 0x57e090\nBL              _ZN17SetupTriggerPopup11updateValueEif; SetupTriggerPopup::updateValue(int,float) ; +0x26, 0x57e094\nCLZ.W           R2, R5                                                 ; +0x2a, 0x57e098\nMOV             R0, R4; this                                           ; +0x2e, 0x57e09c\nMOVS            R1, #0; int                                            ; +0x30, 0x57e09e\nLSRS            R2, R2, #5; bool                                       ; +0x32, 0x57e0a0\nBL              _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x34, 0x57e0a2\nSUBS            R3, R5, R6                                             ; +0x38, 0x57e0a6\nNEGS            R2, R3                                                 ; +0x3a, 0x57e0a8\nMOV             R0, R4; this                                           ; +0x3c, 0x57e0aa\nMOV             R1, R6; int                                            ; +0x3e, 0x57e0ac\nADCS            R2, R3; bool                                           ; +0x40, 0x57e0ae\nBL              _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x42, 0x57e0b0\nMOV             R0, R4; this                                           ; +0x46, 0x57e0b4\nMOVS            R1, #2; int                                            ; +0x48, 0x57e0b6\nSUBS            R4, R5, R1                                             ; +0x4a, 0x57e0b8\nNEGS            R2, R4                                                 ; +0x4c, 0x57e0ba\nADCS            R2, R4; bool                                           ; +0x4e, 0x57e0bc\nPOP.W           {R4-R6,LR}                                             ; +0x50, 0x57e0be\nB.W             _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x54, 0x57e0c2", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}