{"type": "func", "start": 10457680, "end": 10457792, "name": "ColorAction::isInUse", "pseudocode": "// \n// ColorAction::isInUse from 0x9f9250 to 0x9f92c0 (112 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::getNextColorChannel @ 0x7a9408\n// > EditorUI::pasteObjects @ 0xbd9868\n// > <???> @ 0x56b00\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:59:15 +0000\n// \n\nbool __fastcall ColorAction::isInUse(ColorAction *this)\n{\n  _BOOL4 v1; // w1\n\n  v1 = *((unsigned __int8 *)this + 74) == 255\n    && *((unsigned __int8 *)this + 72) == 255\n    && *((unsigned __int8 *)this + 73) == 255;\n  if ( *((unsigned __int8 *)this + 74) != 255\n    || *((unsigned __int8 *)this + 72) != 255\n    || *((unsigned __int8 *)this + 73) != 255 )\n  {\n    return 1;\n  }\n  if ( *((float *)this + 24) != 1.0 || *((_DWORD *)this + 30) || *((_BYTE *)this + 84) )\n    return v1;\n  return *((_DWORD *)this + 22) > 0;\n}", "assembly": "; \n; ColorAction::isInUse from 0x9f9250 to 0x9f92c0 (112 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::getNextColorChannel @ 0x7a9408\n; > EditorUI::pasteObjects @ 0xbd9868\n; > <???> @ 0x56b00\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:59:15 +0000\n; \nLDRB            W2, [X0,#0x48]                                         ; +0x0, 0x9f9250\nLDRB            W1, [X0,#0x49]                                         ; +0x4, 0x9f9254\nCMP             W2, #0xFF                                              ; +0x8, 0x9f9258\nLDRB            W3, [X0,#0x4A]                                         ; +0xc, 0x9f925c\nCSET            W2, EQ                                                 ; +0x10, 0x9f9260\nCMP             W1, #0xFF                                              ; +0x14, 0x9f9264\nCSET            W1, EQ                                                 ; +0x18, 0x9f9268\nCMP             W3, #0xFF                                              ; +0x1c, 0x9f926c\nAND             W1, W2, W1                                             ; +0x20, 0x9f9270\nCSET            W2, EQ                                                 ; +0x24, 0x9f9274\nANDS            W1, W2, W1                                             ; +0x28, 0x9f9278\nB.NE            loc_9F928C                                             ; +0x2c, 0x9f927c\nMOV             W1, #1                                                 ; +0x30, 0x9f9280\nMOV             W0, W1                                                 ; +0x34, 0x9f9284\nRET                                                                    ; +0x38, 0x9f9288\nLDR             S1, [X0,#0x60]                                         ; +0x3c, 0x9f928c\nFMOV            S0, #1.0                                               ; +0x40, 0x9f9290\nFCMP            S1, S0                                                 ; +0x44, 0x9f9294\nB.NE            loc_9F9284                                             ; +0x48, 0x9f9298\nLDR             W2, [X0,#0x78]                                         ; +0x4c, 0x9f929c\nCBNZ            W2, loc_9F9284                                         ; +0x50, 0x9f92a0\nLDRB            W2, [X0,#0x54]                                         ; +0x54, 0x9f92a4\nCBNZ            W2, loc_9F9284                                         ; +0x58, 0x9f92a8\nLDR             W0, [X0,#0x58]                                         ; +0x5c, 0x9f92ac\nCMP             W0, WZR                                                ; +0x60, 0x9f92b0\nCSET            W1, GT                                                 ; +0x64, 0x9f92b4\nMOV             W0, W1                                                 ; +0x68, 0x9f92b8\nRET                                                                    ; +0x6c, 0x9f92bc", "xrefs": ["LevelEditorLayer::getNextColorChannel @ 0x7a9408", "EditorUI::pasteObjects @ 0xbd9868", "<???> @ 0x56b00"], "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"}