; ; ColorAction::isInUse from 0x4998b8 to 0x4998fe (70 bytes) ; ; 2 xrefs: ; > LevelEditorLayer::getNextColorChannel @ 0x371b6c ; > EditorUI::pasteObjects @ 0x3a3820 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDRB.W R1, [R0,#0x44] ; +0x0, 0x4998b8 LDRB.W R2, [R0,#0x45] ; +0x4, 0x4998bc CMP R1, #0xFF ; +0x8, 0x4998c0 LDRB.W R3, [R0,#0x46] ; +0xa, 0x4998c2 BNE loc_4998E6 ; +0xe, 0x4998c6 CMP R2, #0xFF ; +0x10, 0x4998c8 BNE loc_4998E6 ; +0x12, 0x4998ca CMP R3, #0xFF ; +0x14, 0x4998cc BNE loc_4998E6 ; +0x16, 0x4998ce VMOV.F32 S15, #1.0 ; +0x18, 0x4998d0 VLDR S14, [R0,#0x5C] ; +0x1c, 0x4998d4 VCMP.F32 S14, S15 ; +0x20, 0x4998d8 VMRS APSR_nzcv, FPSCR ; +0x24, 0x4998dc BNE loc_4998E6 ; +0x28, 0x4998e0 LDR R3, [R0,#0x74] ; +0x2a, 0x4998e2 CBZ R3, loc_4998EA ; +0x2c, 0x4998e4 MOVS R0, #1 ; +0x2e, 0x4998e6 BX LR ; +0x30, 0x4998e8 LDRB.W R3, [R0,#0x50] ; +0x32, 0x4998ea CMP R3, #0 ; +0x36, 0x4998ee BNE loc_4998E6 ; +0x38, 0x4998f0 LDR R0, [R0,#0x54] ; +0x3a, 0x4998f2 CMP R0, #0 ; +0x3c, 0x4998f4 ITE LE ; +0x3e, 0x4998f6 MOVLE R0, #0 ; +0x40, 0x4998f8 MOVGT R0, #1 ; +0x42, 0x4998fa BX LR ; +0x44, 0x4998fc