{"type": "func", "start": 5761906, "end": 5761974, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x57eb72 to 0x57ebb6 (68 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x57ebd0\n// > CustomizeObjectLayer::toggleVisible @ 0x57ecb4\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:51 +0000\n// \n\nint __fastcall CustomizeObjectLayer::updateCurrentSelection(CustomizeObjectLayer *this)\n{\n  int ActiveMode; // r0\n  int v3; // r1\n  ButtonSprite *ButtonByTag; // r1\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(this, 0);\n  v3 = ActiveMode;\n  if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )\n  {\n    *((_DWORD *)this + 141) = ActiveMode;\n    *((_BYTE *)this + 654) = 1;\n    CustomizeObjectLayer::updateCustomColorLabels(this);\n    v3 = 1008;\n    *((_BYTE *)this + 654) = 0;\n  }\n  ButtonByTag = (ButtonSprite *)CustomizeObjectLayer::getButtonByTag((cocos2d::CCArray **)this, v3);\n  return CustomizeObjectLayer::highlightSelected((cocos2d::CCArray **)this, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x57eb72 to 0x57ebb6 (68 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x57ebd0\n; > CustomizeObjectLayer::toggleVisible @ 0x57ecb4\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:51 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x57eb72\nMOVS            R1, #0; bool                                           ; +0x2, 0x57eb74\nMOV             R4, R0                                                 ; +0x4, 0x57eb76\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x6, 0x57eb78\nMOVW            R3, #0x3DD                                             ; +0xa, 0x57eb7c\nSUB.W           R2, R0, #0xA                                           ; +0xe, 0x57eb80\nMOV             R1, R0                                                 ; +0x12, 0x57eb84\nCMP             R2, R3                                                 ; +0x14, 0x57eb86\nBHI             loc_57EBA4                                             ; +0x16, 0x57eb88\nMOVS            R3, #1                                                 ; +0x18, 0x57eb8a\nSTR.W           R0, [R4,#0x234]                                        ; +0x1a, 0x57eb8c\nSTRB.W          R3, [R4,#0x28E]                                        ; +0x1e, 0x57eb90\nMOV             R0, R4; this                                           ; +0x22, 0x57eb94\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x24, 0x57eb96\nMOV.W           R1, #0x3F0; int                                        ; +0x28, 0x57eb9a\nMOVS            R3, #0                                                 ; +0x2c, 0x57eb9e\nSTRB.W          R3, [R4,#0x28E]                                        ; +0x2e, 0x57eba0\nMOV             R0, R4; this                                           ; +0x32, 0x57eba4\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x34, 0x57eba6\nMOV             R1, R0; ButtonSprite *                                 ; +0x38, 0x57ebaa\nMOV             R0, R4; this                                           ; +0x3a, 0x57ebac\nPOP.W           {R4,LR}                                                ; +0x3c, 0x57ebae\nB.W             _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x40, 0x57ebb2", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x57ebd0", "CustomizeObjectLayer::toggleVisible @ 0x57ecb4"], "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"}