; ; CustomizeObjectLayer::toggleVisible from 0x462150 to 0x462214 (196 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::onSelectMode @ 0x4622ba ; ; 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 ; PUSH {R3-R5,LR} ; +0x0, 0x462150 MOV R4, R0 ; +0x2, 0x462152 LDR.W R3, [R0,#0x21C] ; +0x4, 0x462154 MOVS R5, #0 ; +0x8, 0x462158 SUBS R2, R3, #3 ; +0xa, 0x46215a NEGS R3, R2 ; +0xc, 0x46215c ADCS R3, R2 ; +0xe, 0x46215e STRB.W R3, [R0,#0x278] ; +0x10, 0x462160 LDR.W R0, [R4,#0x20C]; this ; +0x14, 0x462164 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x462168 CMP R5, R0 ; +0x1c, 0x46216c BCS loc_46218E ; +0x1e, 0x46216e MOV R1, R5; unsigned int ; +0x20, 0x462170 LDR.W R0, [R4,#0x20C]; this ; +0x22, 0x462172 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x462176 LDRB.W R1, [R4,#0x278] ; +0x2a, 0x46217a ADDS R5, #1 ; +0x2e, 0x46217e EOR.W R1, R1, #1 ; +0x30, 0x462180 LDR R3, [R0] ; +0x34, 0x462184 LDR.W R3, [R3,#0xA4] ; +0x36, 0x462186 BLX R3 ; +0x3a, 0x46218a B loc_462164 ; +0x3c, 0x46218c MOVS R5, #0 ; +0x3e, 0x46218e LDR.W R0, [R4,#0x218]; this ; +0x40, 0x462190 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x462194 CMP R5, R0 ; +0x48, 0x462198 BCS loc_4621BA ; +0x4a, 0x46219a MOV R1, R5; unsigned int ; +0x4c, 0x46219c LDR.W R0, [R4,#0x218]; this ; +0x4e, 0x46219e BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x52, 0x4621a2 LDRB.W R1, [R4,#0x278] ; +0x56, 0x4621a6 ADDS R5, #1 ; +0x5a, 0x4621aa EOR.W R1, R1, #1 ; +0x5c, 0x4621ac LDR R3, [R0] ; +0x60, 0x4621b0 LDR.W R3, [R3,#0xA4] ; +0x62, 0x4621b2 BLX R3 ; +0x66, 0x4621b6 B loc_462190 ; +0x68, 0x4621b8 LDRB.W R3, [R4,#0x279] ; +0x6a, 0x4621ba CBZ R3, loc_46220A ; +0x6e, 0x4621be MOVS R5, #0 ; +0x70, 0x4621c0 LDR.W R0, [R4,#0x210]; this ; +0x72, 0x4621c2 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x76, 0x4621c6 CMP R5, R0 ; +0x7a, 0x4621ca BCS loc_4621E8 ; +0x7c, 0x4621cc MOV R1, R5; unsigned int ; +0x7e, 0x4621ce LDR.W R0, [R4,#0x210]; this ; +0x80, 0x4621d0 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x84, 0x4621d4 LDRB.W R1, [R4,#0x278] ; +0x88, 0x4621d8 ADDS R5, #1 ; +0x8c, 0x4621dc LDR R3, [R0] ; +0x8e, 0x4621de LDR.W R3, [R3,#0xA4] ; +0x90, 0x4621e0 BLX R3 ; +0x94, 0x4621e4 B loc_4621C2 ; +0x96, 0x4621e6 LDR.W R0, [R4,#0x248] ; +0x98, 0x4621e8 CBZ R0, loc_46220A ; +0x9c, 0x4621ec LDR R3, [R0] ; +0x9e, 0x4621ee LDRB.W R1, [R4,#0x278] ; +0xa0, 0x4621f0 LDR.W R3, [R3,#0x1EC] ; +0xa4, 0x4621f4 BLX R3 ; +0xa8, 0x4621f8 LDR.W R0, [R4,#0x248] ; +0xaa, 0x4621fa LDRB.W R1, [R4,#0x278] ; +0xae, 0x4621fe LDR R3, [R0] ; +0xb2, 0x462202 LDR.W R3, [R3,#0xA4] ; +0xb4, 0x462204 BLX R3 ; +0xb8, 0x462208 MOV R0, R4; this ; +0xba, 0x46220a POP.W {R3-R5,LR} ; +0xbc, 0x46220c B.W _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0xc0, 0x462210