; ; CustomizeObjectLayer::determineStartValues from 0x461724 to 0x4617c6 (162 bytes) ; ; 1 xrefs: ; > CustomizeObjectLayer::init @ 0x46269e ; ; 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 {R4-R6,LR} ; +0x0, 0x461724 MOV R4, R0 ; +0x2, 0x461726 LDR.W R0, [R0,#0x200]; this ; +0x4, 0x461728 CBZ R0, loc_461760 ; +0x8, 0x46172c MOVS R1, #1; int ; +0xa, 0x46172e BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0xc, 0x461730 MOVS R1, #2; int ; +0x10, 0x461734 ADDS R0, #0 ; +0x12, 0x461736 IT NE ; +0x14, 0x461738 MOVNE R0, #1 ; +0x16, 0x46173a STRB.W R0, [R4,#0x224] ; +0x18, 0x46173c LDR.W R0, [R4,#0x200]; this ; +0x1c, 0x461740 BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x20, 0x461744 LDR.W R3, [R4,#0x200] ; +0x24, 0x461748 ADDS R0, #0 ; +0x28, 0x46174c IT NE ; +0x2a, 0x46174e MOVNE R0, #1 ; +0x2c, 0x461750 STRB.W R0, [R4,#0x225] ; +0x2e, 0x461752 LDRB.W R3, [R3,#0x36C] ; +0x32, 0x461756 STRB.W R3, [R4,#0x226] ; +0x36, 0x46175a POP {R4-R6,PC} ; +0x3a, 0x46175e MOV R5, R0 ; +0x3c, 0x461760 MOVS R3, #1 ; +0x3e, 0x461762 STRB.W R3, [R4,#0x226] ; +0x40, 0x461764 LDR.W R0, [R4,#0x204]; this ; +0x44, 0x461768 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x46176c CMP R5, R0 ; +0x4c, 0x461770 BCS locret_4617C4 ; +0x4e, 0x461772 LDR.W R0, [R4,#0x204]; this ; +0x50, 0x461774 MOV R1, R5; unsigned int ; +0x54, 0x461778 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x56, 0x46177a LDRB.W R3, [R4,#0x224] ; +0x5a, 0x46177e MOV R6, R0 ; +0x5e, 0x461782 CBZ R3, loc_46178E ; +0x60, 0x461784 LDRB.W R3, [R4,#0x225] ; +0x62, 0x461786 CBZ R3, loc_46179E ; +0x66, 0x46178a B loc_4617B6 ; +0x68, 0x46178c MOVS R1, #1; int ; +0x6a, 0x46178e BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x6c, 0x461790 ADDS R0, #0 ; +0x70, 0x461794 IT NE ; +0x72, 0x461796 MOVNE R0, #1 ; +0x74, 0x461798 STRB.W R0, [R4,#0x224] ; +0x76, 0x46179a LDRB.W R3, [R4,#0x225] ; +0x7a, 0x46179e CBNZ R3, loc_4617B6 ; +0x7e, 0x4617a2 MOV R0, R6; this ; +0x80, 0x4617a4 MOVS R1, #2; int ; +0x82, 0x4617a6 BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x84, 0x4617a8 ADDS R0, #0 ; +0x88, 0x4617ac IT NE ; +0x8a, 0x4617ae MOVNE R0, #1 ; +0x8c, 0x4617b0 STRB.W R0, [R4,#0x225] ; +0x8e, 0x4617b2 LDRB.W R3, [R6,#0x36C] ; +0x92, 0x4617b6 CBNZ R3, loc_4617C0 ; +0x96, 0x4617ba STRB.W R3, [R4,#0x226] ; +0x98, 0x4617bc ADDS R5, #1 ; +0x9c, 0x4617c0 B loc_461768 ; +0x9e, 0x4617c2 POP {R4-R6,PC} ; +0xa0, 0x4617c4