; ; CCSpriteGrayscale::createWithTexture from 0x3f2e18 to 0x3f2e9a (130 bytes) ; ; 0 xrefs: ; ; 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:15 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x3f2e18 MOV R8, R0 ; +0x4, 0x3f2e1c LDR R5, =(_ZSt7nothrow_ptr - 0x3F2E2C) ; +0x6, 0x3f2e1e MOV R7, R1 ; +0x8, 0x3f2e20 MOV.W R0, #0x23C; unsigned int ; +0xa, 0x3f2e22 MOV R6, R2 ; +0xe, 0x3f2e26 ADD R5, PC; _ZSt7nothrow_ptr ; +0x10, 0x3f2e28 LDR R5, [R5]; std::nothrow ... ; +0x12, 0x3f2e2a MOV R1, R5; std::nothrow_t * ; +0x14, 0x3f2e2c BL _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x16, 0x3f2e2e MOV R4, R0 ; +0x1a, 0x3f2e32 CBZ R0, loc_3F2E86 ; +0x1c, 0x3f2e34 MOVS R1, #0; int ; +0x1e, 0x3f2e36 MOV.W R2, #0x23C; size_t ; +0x20, 0x3f2e38 BLX memset ; +0x24, 0x3f2e3c MOV R0, R4; this ; +0x28, 0x3f2e40 BL _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x2a, 0x3f2e42 LDR R3, =(_ZTV17CCSpriteGrayscale_ptr - 0x3F2E50) ; +0x2e, 0x3f2e46 MOV R0, R4; this ; +0x30, 0x3f2e48 MOV R1, R8; cocos2d::CCTexture2D * ; +0x32, 0x3f2e4a ADD R3, PC; _ZTV17CCSpriteGrayscale_ptr ; +0x34, 0x3f2e4c LDR R3, [R3]; `vtable for'CCSpriteGrayscale ... ; +0x36, 0x3f2e4e ADD.W R2, R3, #8 ; +0x38, 0x3f2e50 STR R2, [R4] ; +0x3c, 0x3f2e54 ADD.W R2, R3, #0x288 ; +0x3e, 0x3f2e56 ADD.W R3, R3, #0x2C8 ; +0x42, 0x3f2e5a STR.W R2, [R4,#0x108] ; +0x46, 0x3f2e5e MOV R2, R7; cocos2d::CCRect * ; +0x4a, 0x3f2e62 STR.W R3, [R4,#0x118] ; +0x4c, 0x3f2e64 MOV R3, R6; bool ; +0x50, 0x3f2e68 BL _ZN15CCSpriteWithHue15initWithTextureEPN7cocos2d11CCTexture2DERKNS0_6CCRectEb; CCSpriteWithHue::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const&,bool) ; +0x52, 0x3f2e6a MOV R5, R0 ; +0x56, 0x3f2e6e CBZ R0, loc_3F2E8C ; +0x58, 0x3f2e70 MOV R0, R4; this ; +0x5a, 0x3f2e72 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x5c, 0x3f2e74 B loc_3F2E86 ; +0x60, 0x3f2e78 MOV R0, R4; void * ; +0x62, 0x3f2e7a MOV R1, R5; std::nothrow_t * ; +0x64, 0x3f2e7c BL _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x66, 0x3f2e7e BL __cxa_end_cleanup ; +0x6a, 0x3f2e82 MOV R0, R4 ; +0x6e, 0x3f2e86 POP.W {R4-R8,PC} ; +0x70, 0x3f2e88 LDR R3, [R4] ; +0x74, 0x3f2e8c MOV R0, R4 ; +0x76, 0x3f2e8e LDR R3, [R3,#8] ; +0x78, 0x3f2e90 BLX R3 ; +0x7a, 0x3f2e92 MOV R0, R5 ; +0x7c, 0x3f2e94 POP.W {R4-R8,PC} ; +0x7e, 0x3f2e96