; ; CCPartAnimSprite::setColor from 0x2e703c to 0x2e70b6 (122 bytes) ; ; 3 xrefs: ; > CCAnimatedSprite::switchToMode @ 0x2e4282 ; > CCAnimatedSprite::setColor @ 0x2e45b8 ; > GJRobotSprite::updateColors @ 0x4b7f88 ; ; 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 {R0-R2,R4-R7,LR} ; +0x0, 0x2e703c ADD R6, SP, #0xC+var_4 ; +0x2, 0x2e703e MOV R4, R0 ; +0x4, 0x2e7040 STR.W R1, [R6,#-4]! ; +0x6, 0x2e7042 MOV R1, R6 ; +0xa, 0x2e7046 BL _ZN7cocos2d8CCSprite8setColorERKNS_10_ccColor3BE; cocos2d::CCSprite::setColor(cocos2d::_ccColor3B const&) ; +0xc, 0x2e7048 LDR R3, [R4] ; +0x10, 0x2e704c MOV R0, R4 ; +0x12, 0x2e704e LDR.W R3, [R3,#0xEC] ; +0x14, 0x2e7050 BLX R3 ; +0x18, 0x2e7054 CBZ R0, loc_2E70B2 ; +0x1a, 0x2e7056 LDR R3, [R4] ; +0x1c, 0x2e7058 MOV R0, R4 ; +0x1e, 0x2e705a LDR.W R3, [R3,#0xEC] ; +0x20, 0x2e705c BLX R3 ; +0x24, 0x2e7060 LDR R3, [R0,#0x34] ; +0x26, 0x2e7062 LDR R3, [R3] ; +0x28, 0x2e7064 CBZ R3, loc_2E70B2 ; +0x2a, 0x2e7066 LDR R3, [R4] ; +0x2c, 0x2e7068 MOV R0, R4 ; +0x2e, 0x2e706a LDR.W R3, [R3,#0xEC] ; +0x30, 0x2e706c BLX R3 ; +0x34, 0x2e7070 LDR R3, [R0,#0x34] ; +0x36, 0x2e7072 MOV R0, R4 ; +0x38, 0x2e7074 LDR R5, [R3,#0xC] ; +0x3a, 0x2e7076 LDR R3, [R4] ; +0x3c, 0x2e7078 LDR.W R3, [R3,#0xEC] ; +0x3e, 0x2e707a BLX R3 ; +0x42, 0x2e707e LDR R3, [R0,#0x34] ; +0x44, 0x2e7080 MOV R0, R4 ; +0x46, 0x2e7082 LDR R7, [R3,#0xC] ; +0x48, 0x2e7084 LDR R3, [R4] ; +0x4a, 0x2e7086 LDR.W R3, [R3,#0xEC] ; +0x4c, 0x2e7088 BLX R3 ; +0x50, 0x2e708c LDR R3, [R0,#0x34] ; +0x52, 0x2e708e LDR R3, [R3] ; +0x54, 0x2e7090 ADD.W R3, R3, #0x40000000 ; +0x56, 0x2e7092 SUBS R3, #1 ; +0x5a, 0x2e7096 ADD.W R4, R7, R3,LSL#2 ; +0x5c, 0x2e7098 CMP R5, R4 ; +0x60, 0x2e709c BHI loc_2E70B2 ; +0x62, 0x2e709e LDR.W R0, [R5],#4 ; +0x64, 0x2e70a0 CBZ R0, loc_2E70B2 ; +0x68, 0x2e70a4 LDR R3, [R0] ; +0x6a, 0x2e70a6 MOV R1, R6 ; +0x6c, 0x2e70a8 LDR.W R3, [R3,#0x1D8] ; +0x6e, 0x2e70aa BLX R3 ; +0x72, 0x2e70ae B loc_2E709C ; +0x74, 0x2e70b0 ADD SP, SP, #0xC ; +0x76, 0x2e70b2 POP {R4-R7,PC} ; +0x78, 0x2e70b4