{"type": "func", "start": 4592482, "end": 4592570, "name": "CustomizeObjectSettingsPopup::onCustomToggleTriggerValue", "pseudocode": "// \n// CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x461362 to 0x4613ba (88 bytes)\n// \n// 0 xrefs:\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 CustomizeObjectSettingsPopup::onCustomToggleTriggerValue(CustomizeObjectSettingsPopup *a1, cocos2d::CCObject *a2)\n{\n  int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // r3\n  int v4; // r5\n\n  getTag = a2->getTag;\n  a1->m_settingsChanged = 1;\n  v4 = getTag(a2);\n  SetupTriggerPopup::updateValue(a1, 497, (float)v4);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 0, v4 == 0);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 1, v4 == 1);\n  SetupTriggerPopup::updateCustomToggleTrigger(a1, 2, v4 == 2);\n}", "assembly": "; \n; CustomizeObjectSettingsPopup::onCustomToggleTriggerValue from 0x461362 to 0x4613ba (88 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R1]                                               ; +0x0, 0x461362\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x461364\nMOV             R4, R0                                                 ; +0x4, 0x461366\nMOVS            R6, #1                                                 ; +0x6, 0x461368\nLDR             R3, [R3,#0x20]                                         ; +0x8, 0x46136a\nSTRB.W          R6, [R0,#0x2AC]                                        ; +0xa, 0x46136c\nMOV             R0, R1                                                 ; +0xe, 0x461370\nBLX             R3                                                     ; +0x10, 0x461372\nMOVW            R1, #0x1F1; int                                        ; +0x12, 0x461374\nMOV             R5, R0                                                 ; +0x16, 0x461378\nMOV             R0, R4; this                                           ; +0x18, 0x46137a\nVMOV            S15, R5                                                ; +0x1a, 0x46137c\nVCVT.F32.S32    S15, S15                                               ; +0x1e, 0x461380\nVMOV            R2, S15; float                                         ; +0x22, 0x461384\nBL              _ZN17SetupTriggerPopup11updateValueEif; SetupTriggerPopup::updateValue(int,float) ; +0x26, 0x461388\nCLZ.W           R2, R5                                                 ; +0x2a, 0x46138c\nMOV             R0, R4; this                                           ; +0x2e, 0x461390\nMOVS            R1, #0; int                                            ; +0x30, 0x461392\nLSRS            R2, R2, #5; bool                                       ; +0x32, 0x461394\nBL              _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x34, 0x461396\nSUBS            R3, R5, R6                                             ; +0x38, 0x46139a\nNEGS            R2, R3                                                 ; +0x3a, 0x46139c\nMOV             R0, R4; this                                           ; +0x3c, 0x46139e\nMOV             R1, R6; int                                            ; +0x3e, 0x4613a0\nADCS            R2, R3; bool                                           ; +0x40, 0x4613a2\nBL              _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x42, 0x4613a4\nMOV             R0, R4; this                                           ; +0x46, 0x4613a8\nMOVS            R1, #2; int                                            ; +0x48, 0x4613aa\nSUBS            R4, R5, R1                                             ; +0x4a, 0x4613ac\nNEGS            R2, R4                                                 ; +0x4c, 0x4613ae\nADCS            R2, R4; bool                                           ; +0x4e, 0x4613b0\nPOP.W           {R4-R6,LR}                                             ; +0x50, 0x4613b2\nB.W             _ZN17SetupTriggerPopup25updateCustomToggleTriggerEib; SetupTriggerPopup::updateCustomToggleTrigger(int,bool) ; +0x54, 0x4613b6", "xrefs": [], "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"}