{"type": "func", "start": 4295273732, "end": 4295273828, "name": "GJUINode::toggleModeB", "pseudocode": "// \n// GJUINode::toggleModeB from 0x10004ad04 to 0x10004ad64 (96 bytes)\n// \n// 3 xrefs:\n// > GJUINode::loadFromConfig @ 0x100049940\n// > GJUINode::init @ 0x10004ab50\n// > UIOptionsLayer::valueDidChange @ 0x1002e4324\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 GJUINode::toggleModeB(GJUINode *a1, bool a2)\n{\n  if ( a1->m_secondSprite )\n  {\n    a1->m_modeB = a2;\n    ((void (__fastcall *)(cocos2d::CCSprite *, bool))a1->m_firstSprite->setVisible)(a1->m_firstSprite, !a2);\n    ((void (__fastcall *)(cocos2d::CCSprite *, bool))a1->m_secondSprite->setVisible)(a1->m_secondSprite, !a1->m_modeB);\n    GJUINode::updateButtonFrames(a1);\n  }\n}", "assembly": "; \n; GJUINode::toggleModeB from 0x10004ad04 to 0x10004ad64 (96 bytes)\n; \n; 3 xrefs:\n; > GJUINode::loadFromConfig @ 0x100049940\n; > GJUINode::init @ 0x10004ab50\n; > UIOptionsLayer::valueDidChange @ 0x1002e4324\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             X8, [X0,#0x148]                                        ; +0x0, 0x10004ad04\nCBZ             X8, locret_10004AD60                                   ; +0x4, 0x10004ad08\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x10004ad0c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x10004ad10\nADD             X29, SP, #0x10                                         ; +0x10, 0x10004ad14\nMOV             X19, X0                                                ; +0x14, 0x10004ad18\nSTRB            W1, [X0,#0x17D]                                        ; +0x18, 0x10004ad1c\nLDR             X0, [X0,#0x140]                                        ; +0x1c, 0x10004ad20\nLDR             X8, [X0]                                               ; +0x20, 0x10004ad24\nLDR             X8, [X8,#0x148]                                        ; +0x24, 0x10004ad28\nEOR             W1, W1, #1                                             ; +0x28, 0x10004ad2c\nBLR             X8                                                     ; +0x2c, 0x10004ad30\nLDR             X0, [X19,#0x148]                                       ; +0x30, 0x10004ad34\nLDRB            W8, [X19,#0x17D]                                       ; +0x34, 0x10004ad38\nLDR             X9, [X0]                                               ; +0x38, 0x10004ad3c\nLDR             X9, [X9,#0x148]                                        ; +0x3c, 0x10004ad40\nMOV             W10, #1                                                ; +0x40, 0x10004ad44\nBIC             W1, W10, W8                                            ; +0x44, 0x10004ad48\nBLR             X9                                                     ; +0x48, 0x10004ad4c\nMOV             X0, X19                                                ; +0x4c, 0x10004ad50\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x10004ad54\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x10004ad58\nB               GJUINode__updateButtonFrames                           ; +0x58, 0x10004ad5c\nRET                                                                    ; +0x5c, 0x10004ad60", "xrefs": ["GJUINode::loadFromConfig @ 0x100049940", "GJUINode::init @ 0x10004ab50", "UIOptionsLayer::valueDidChange @ 0x1002e4324"], "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"}