{"type": "func", "start": 9977412, "end": 9977508, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x983e44 to 0x983ea4 (96 bytes)\n// \n// 3 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x983ecc\n// > CustomizeObjectLayer::toggleVisible @ 0x984014\n// > <???> @ 0x9a6c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:52 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::updateCurrentSelection(CustomizeObjectLayer *this)\n{\n  int ActiveMode; // w1\n  ButtonSprite *ButtonByTag; // x0\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(this, 0);\n  if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )\n  {\n    *((_DWORD *)this + 187) = ActiveMode;\n    *((_BYTE *)this + 922) = 1;\n    CustomizeObjectLayer::updateCustomColorLabels((ButtonSprite **)this);\n    *((_BYTE *)this + 922) = 0;\n    ActiveMode = 1008;\n  }\n  ButtonByTag = (ButtonSprite *)CustomizeObjectLayer::getButtonByTag((cocos2d::CCArray **)this, ActiveMode);\n  return CustomizeObjectLayer::highlightSelected((cocos2d::CCArray **)this, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x983e44 to 0x983ea4 (96 bytes)\n; \n; 3 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x983ecc\n; > CustomizeObjectLayer::toggleVisible @ 0x984014\n; > <???> @ 0x9a6c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:52 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x983e44\nMOV             W1, #0; bool                                           ; +0x4, 0x983e48\nMOV             X29, SP                                                ; +0x8, 0x983e4c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x983e50\nMOV             X19, X0                                                ; +0x10, 0x983e54\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x14, 0x983e58\nMOV             W1, W0                                                 ; +0x18, 0x983e5c\nSUB             W0, W0, #0xA                                           ; +0x1c, 0x983e60\nCMP             W0, #0x3DD                                             ; +0x20, 0x983e64\nB.HI            loc_983E88                                             ; +0x24, 0x983e68\nSTR             W1, [X19,#0x2EC]                                       ; +0x28, 0x983e6c\nMOV             X0, X19; this                                          ; +0x2c, 0x983e70\nMOV             W1, #1                                                 ; +0x30, 0x983e74\nSTRB            W1, [X19,#0x39A]                                       ; +0x34, 0x983e78\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x38, 0x983e7c\nSTRB            WZR, [X19,#0x39A]                                      ; +0x3c, 0x983e80\nMOV             W1, #0x3F0; int                                        ; +0x40, 0x983e84\nMOV             X0, X19; this                                          ; +0x44, 0x983e88\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x48, 0x983e8c\nMOV             X1, X0; ButtonSprite *                                 ; +0x4c, 0x983e90\nMOV             X0, X19; this                                          ; +0x50, 0x983e94\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x983e98\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x983e9c\nB               _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x5c, 0x983ea0", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x983ecc", "CustomizeObjectLayer::toggleVisible @ 0x984014", "<???> @ 0x9a6c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}