{"type": "func", "start": 4296696180, "end": 4296696476, "name": "EditorUI::checkLiveColorSelect", "pseudocode": "// \n// EditorUI::checkLiveColorSelect from 0x1001a6174 to 0x1001a629c (296 bytes)\n// \n// 2 xrefs:\n// > EditorUI::selectObject @ 0x1001a5b8c\n// > EditorUI::selectObjects @ 0x1001a6170\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 11:00:03 +0000\n// \n\ndouble __fastcall EditorUI::checkLiveColorSelect(_QWORD *a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  __int64 v4; // x20\n  double result; // d0\n  __int64 v6; // x20\n  __int64 v7; // x0\n\n  if ( a1[193] )\n  {\n    sub_10047C104(a1);\n    sub_10047C974(a1);\n  }\n  else\n  {\n    if ( !a1[194] )\n      return result;\n    sub_10047CA98(a1);\n    sub_10047C854(a1);\n  }\n  v2 = a1[187];\n  if ( v2 )\n  {\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1528LL))(v2, 65280);\n  }\n  else if ( (unsigned int)sub_1002E757C(a1[112]) && (unsigned int)sub_1002E757C(a1[112]) )\n  {\n    v6 = 0;\n    do\n    {\n      v7 = sub_1002E75A0(a1[112], v6);\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1528LL))(v7, 65280);\n      v6 = (unsigned int)(v6 + 1);\n    }\n    while ( (unsigned int)v6 < (unsigned int)sub_1002E757C(a1[112]) );\n  }\n  cocos2d::CCNode::stopActionByTag(a1, 124);\n  v3 = cocos2d::CCDelayTime::create(0.1);\n  cocos2d::CCCallFunc::create(a1, sub_1001A6CC8, 0);\n  v4 = sub_10021D420(v3);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 124);\n  *(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v4).n128_u64[0];\n  return result;\n}", "assembly": "; \n; EditorUI::checkLiveColorSelect from 0x1001a6174 to 0x1001a629c (296 bytes)\n; \n; 2 xrefs:\n; > EditorUI::selectObject @ 0x1001a5b8c\n; > EditorUI::selectObjects @ 0x1001a6170\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 11:00:03 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1001a6174\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001a6178\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001a617c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001a6180\nMOV             X19, X0                                                ; +0x10, 0x1001a6184\nLDR             X8, [X0,#0x608]                                        ; +0x14, 0x1001a6188\nCBZ             X8, loc_1001A61A4                                      ; +0x18, 0x1001a618c\nMOV             X0, X19                                                ; +0x1c, 0x1001a6190\nBL              sub_10047C104                                          ; +0x20, 0x1001a6194\nMOV             X0, X19                                                ; +0x24, 0x1001a6198\nBL              sub_10047C974                                          ; +0x28, 0x1001a619c\nB               loc_1001A61BC                                          ; +0x2c, 0x1001a61a0\nLDR             X8, [X19,#0x610]                                       ; +0x30, 0x1001a61a4\nCBZ             X8, loc_1001A628C                                      ; +0x34, 0x1001a61a8\nMOV             X0, X19                                                ; +0x38, 0x1001a61ac\nBL              sub_10047CA98                                          ; +0x3c, 0x1001a61b0\nMOV             X0, X19                                                ; +0x40, 0x1001a61b4\nBL              sub_10047C854                                          ; +0x44, 0x1001a61b8\nLDR             X0, [X19,#0x5D8]                                       ; +0x48, 0x1001a61bc\nCBZ             X0, loc_1001A623C                                      ; +0x4c, 0x1001a61c0\nLDR             X8, [X0]                                               ; +0x50, 0x1001a61c4\nLDR             X8, [X8,#0x5F8]                                        ; +0x54, 0x1001a61c8\nMOV             W1, #0xFF00                                            ; +0x58, 0x1001a61cc\nBLR             X8                                                     ; +0x5c, 0x1001a61d0\nMOV             X0, X19                                                ; +0x60, 0x1001a61d4\nMOV             W1, #0x7C ; '|'                                        ; +0x64, 0x1001a61d8\nBL              cocos2d__CCNode__stopActionByTag                       ; +0x68, 0x1001a61dc\nADRP            X8, #dword_10075BD10@PAGE                              ; +0x6c, 0x1001a61e0\nLDR             S0, [X8,#dword_10075BD10@PAGEOFF]                      ; +0x70, 0x1001a61e4\nBL              cocos2d__CCDelayTime__create                           ; +0x74, 0x1001a61e8\nMOV             X20, X0                                                ; +0x78, 0x1001a61ec\nADRL            X1, sub_1001A6CC8                                      ; +0x7c, 0x1001a61f0\nMOV             X0, X19                                                ; +0x84, 0x1001a61f8\nMOV             X2, #0                                                 ; +0x88, 0x1001a61fc\nBL              cocos2d__CCCallFunc__create                            ; +0x8c, 0x1001a6200\nSTP             X0, XZR, [SP,#0x20+var_20]                             ; +0x90, 0x1001a6204\nMOV             X0, X20                                                ; +0x94, 0x1001a6208\nBL              sub_10021D420                                          ; +0x98, 0x1001a620c\nMOV             X20, X0                                                ; +0x9c, 0x1001a6210\nLDR             X8, [X0]                                               ; +0xa0, 0x1001a6214\nLDR             X8, [X8,#0x48]                                         ; +0xa4, 0x1001a6218\nMOV             W1, #0x7C ; '|'                                        ; +0xa8, 0x1001a621c\nBLR             X8                                                     ; +0xac, 0x1001a6220\nMOV             X0, X19                                                ; +0xb0, 0x1001a6224\nMOV             X1, X20                                                ; +0xb4, 0x1001a6228\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xb8, 0x1001a622c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xbc, 0x1001a6230\nADD             SP, SP, #0x30 ; '0'                                    ; +0xc0, 0x1001a6234\nB               cocos2d__CCNode__runAction                             ; +0xc4, 0x1001a6238\nLDR             X0, [X19,#0x380]                                       ; +0xc8, 0x1001a623c\nBL              sub_1002E757C                                          ; +0xcc, 0x1001a6240\nCBZ             W0, loc_1001A61D4                                      ; +0xd0, 0x1001a6244\nLDR             X0, [X19,#0x380]                                       ; +0xd4, 0x1001a6248\nBL              sub_1002E757C                                          ; +0xd8, 0x1001a624c\nCBZ             W0, loc_1001A61D4                                      ; +0xdc, 0x1001a6250\nMOV             W20, #0                                                ; +0xe0, 0x1001a6254\nLDR             X0, [X19,#0x380]                                       ; +0xe4, 0x1001a6258\nMOV             X1, X20                                                ; +0xe8, 0x1001a625c\nBL              sub_1002E75A0                                          ; +0xec, 0x1001a6260\nLDR             X8, [X0]                                               ; +0xf0, 0x1001a6264\nLDR             X8, [X8,#0x5F8]                                        ; +0xf4, 0x1001a6268\nMOV             W1, #0xFF00                                            ; +0xf8, 0x1001a626c\nBLR             X8                                                     ; +0xfc, 0x1001a6270\nADD             W20, W20, #1                                           ; +0x100, 0x1001a6274\nLDR             X0, [X19,#0x380]                                       ; +0x104, 0x1001a6278\nBL              sub_1002E757C                                          ; +0x108, 0x1001a627c\nCMP             W20, W0                                                ; +0x10c, 0x1001a6280\nB.CC            loc_1001A6258                                          ; +0x110, 0x1001a6284\nB               loc_1001A61D4                                          ; +0x114, 0x1001a6288\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x118, 0x1001a628c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x11c, 0x1001a6290\nADD             SP, SP, #0x30 ; '0'                                    ; +0x120, 0x1001a6294\nRET                                                                    ; +0x124, 0x1001a6298", "xrefs": ["EditorUI::selectObject @ 0x1001a5b8c", "EditorUI::selectObjects @ 0x1001a6170"], "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"}