{"type": "func", "start": 6040136, "end": 6040206, "name": "ColorAction::isInUse", "pseudocode": "// \n// ColorAction::isInUse from 0x5c2a48 to 0x5c2a8e (70 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::getNextColorChannel @ 0x4734d4\n// > EditorUI::pasteObjects @ 0x6f2f64\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:53:51 +0000\n// \n\nbool __fastcall ColorAction::isInUse(ColorAction *this)\n{\n  return *((unsigned __int8 *)this + 68) != 255\n      || *((unsigned __int8 *)this + 69) != 255\n      || *((unsigned __int8 *)this + 70) != 255\n      || *((float *)this + 23) != 1.0\n      || *((_DWORD *)this + 29)\n      || *((_BYTE *)this + 80)\n      || *((_DWORD *)this + 21) > 0;\n}", "assembly": "; \n; ColorAction::isInUse from 0x5c2a48 to 0x5c2a8e (70 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::getNextColorChannel @ 0x4734d4\n; > EditorUI::pasteObjects @ 0x6f2f64\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:53:51 +0000\n; \nLDRB.W          R1, [R0,#0x44]                                         ; +0x0, 0x5c2a48\nLDRB.W          R2, [R0,#0x45]                                         ; +0x4, 0x5c2a4c\nCMP             R1, #0xFF                                              ; +0x8, 0x5c2a50\nLDRB.W          R3, [R0,#0x46]                                         ; +0xa, 0x5c2a52\nBNE             loc_5C2A76                                             ; +0xe, 0x5c2a56\nCMP             R2, #0xFF                                              ; +0x10, 0x5c2a58\nBNE             loc_5C2A76                                             ; +0x12, 0x5c2a5a\nCMP             R3, #0xFF                                              ; +0x14, 0x5c2a5c\nBNE             loc_5C2A76                                             ; +0x16, 0x5c2a5e\nVMOV.F32        S15, #1.0                                              ; +0x18, 0x5c2a60\nVLDR            S14, [R0,#0x5C]                                        ; +0x1c, 0x5c2a64\nVCMP.F32        S14, S15                                               ; +0x20, 0x5c2a68\nVMRS            APSR_nzcv, FPSCR                                       ; +0x24, 0x5c2a6c\nBNE             loc_5C2A76                                             ; +0x28, 0x5c2a70\nLDR             R3, [R0,#0x74]                                         ; +0x2a, 0x5c2a72\nCBZ             R3, loc_5C2A7A                                         ; +0x2c, 0x5c2a74\nMOVS            R0, #1                                                 ; +0x2e, 0x5c2a76\nBX              LR                                                     ; +0x30, 0x5c2a78\nLDRB.W          R3, [R0,#0x50]                                         ; +0x32, 0x5c2a7a\nCMP             R3, #0                                                 ; +0x36, 0x5c2a7e\nBNE             loc_5C2A76                                             ; +0x38, 0x5c2a80\nLDR             R0, [R0,#0x54]                                         ; +0x3a, 0x5c2a82\nCMP             R0, #0                                                 ; +0x3c, 0x5c2a84\nITE LE                                                                 ; +0x3e, 0x5c2a86\nMOVLE           R0, #0                                                 ; +0x40, 0x5c2a88\nMOVGT           R0, #1                                                 ; +0x42, 0x5c2a8a\nBX              LR                                                     ; +0x44, 0x5c2a8c", "xrefs": ["LevelEditorLayer::getNextColorChannel @ 0x4734d4", "EditorUI::pasteObjects @ 0x6f2f64"], "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"}