; ; CCSpriteWithHue::initWithTexture from 0x3f2480 to 0x3f24d6 (86 bytes) ; ; 1 xrefs: ; > CCSpriteGrayscale::createWithTexture @ 0x3f2de4 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:47:14 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x3f2480 SUB SP, SP, #0x20 ; +0x4, 0x3f2484 LDR R4, =(__stack_chk_guard_ptr - 0x3F2492) ; +0x6, 0x3f2486 MOV R6, R1 ; +0x8, 0x3f2488 ADD R7, SP, #0xC ; +0xa, 0x3f248a LDR R1, =(unk_D2B4F4 - 0x3F2498) ; +0xc, 0x3f248c ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x3f248e LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x3f2490 MOV R8, R0 ; +0x12, 0x3f2492 ADD R1, PC; unk_D2B4F4 ; cocos2d::CCRect * ; +0x14, 0x3f2494 MOV R0, R7; this ; +0x16, 0x3f2496 LDR R3, [R4] ; +0x18, 0x3f2498 ADD R5, SP, #0x20+var_1C ; +0x1a, 0x3f249a STR R3, [SP,#0x20+var_4] ; +0x1c, 0x3f249c BL _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x1e, 0x3f249e LDR R3, [R6] ; +0x22, 0x3f24a2 MOV R0, R5 ; +0x24, 0x3f24a4 MOV R1, R6 ; +0x26, 0x3f24a6 LDR R3, [R3,#0x48] ; +0x28, 0x3f24a8 BLX R3 ; +0x2a, 0x3f24aa MOV R1, R5 ; +0x2c, 0x3f24ac ADD R0, SP, #0x20+var_C ; +0x2e, 0x3f24ae BL _ZN7cocos2d6CCSizeaSERKS0_; cocos2d::CCSize::operator=(cocos2d::CCSize const&) ; +0x30, 0x3f24b0 LDR.W R3, [R8] ; +0x34, 0x3f24b4 MOV R2, R7 ; +0x38, 0x3f24b8 MOV R0, R8 ; +0x3a, 0x3f24ba MOV R1, R6 ; +0x3c, 0x3f24bc LDR.W R3, [R3,#0x1FC] ; +0x3e, 0x3f24be BLX R3 ; +0x42, 0x3f24c2 LDR R2, [SP,#0x20+var_4] ; +0x44, 0x3f24c4 LDR R3, [R4] ; +0x46, 0x3f24c6 CMP R2, R3 ; +0x48, 0x3f24c8 BEQ loc_3F24D0 ; +0x4a, 0x3f24ca BLX __stack_chk_fail ; +0x4c, 0x3f24cc ADD SP, SP, #0x20 ; ' ' ; +0x50, 0x3f24d0 POP.W {R4-R8,PC} ; +0x52, 0x3f24d2