; ; CCSpriteWithHue::createWithTexture from 0x306a00 to 0x306a6a (106 bytes) ; ; 0 xrefs: ; ; 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.W {R4-R8,LR} ; +0x0, 0x306a00 MOV R8, R0 ; +0x4, 0x306a04 LDR R5, =(_ZSt7nothrow_ptr - 0x306A14) ; +0x6, 0x306a06 MOV R7, R1 ; +0x8, 0x306a08 MOV.W R0, #0x23C; unsigned int ; +0xa, 0x306a0a MOV R6, R2 ; +0xe, 0x306a0e ADD R5, PC; _ZSt7nothrow_ptr ; +0x10, 0x306a10 LDR R5, [R5]; std::nothrow ... ; +0x12, 0x306a12 MOV R1, R5; std::nothrow_t * ; +0x14, 0x306a14 BL _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x16, 0x306a16 MOV R4, R0 ; +0x1a, 0x306a1a CBZ R0, loc_306A56 ; +0x1c, 0x306a1c MOVS R1, #0; int ; +0x1e, 0x306a1e MOV.W R2, #0x23C; size_t ; +0x20, 0x306a20 BLX memset ; +0x24, 0x306a24 MOV R0, R4; this ; +0x28, 0x306a28 BL _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x2a, 0x306a2a B loc_306A3C ; +0x2e, 0x306a2e MOV R0, R4; p ; +0x30, 0x306a30 MOV R1, R5; std::nothrow_t * ; +0x32, 0x306a32 BL _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x34, 0x306a34 BL __cxa_end_cleanup ; +0x38, 0x306a38 LDR R3, [R4] ; +0x3c, 0x306a3c MOV R0, R4 ; +0x3e, 0x306a3e MOV R1, R8 ; +0x40, 0x306a40 MOV R2, R7 ; +0x42, 0x306a42 LDR.W R5, [R3,#0x1F8] ; +0x44, 0x306a44 MOV R3, R6 ; +0x48, 0x306a48 BLX R5 ; +0x4a, 0x306a4a MOV R5, R0 ; +0x4c, 0x306a4c CBZ R0, loc_306A5C ; +0x4e, 0x306a4e MOV R0, R4; this ; +0x50, 0x306a50 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x52, 0x306a52 MOV R0, R4 ; +0x56, 0x306a56 POP.W {R4-R8,PC} ; +0x58, 0x306a58 LDR R3, [R4] ; +0x5c, 0x306a5c MOV R0, R4 ; +0x5e, 0x306a5e LDR R3, [R3,#8] ; +0x60, 0x306a60 BLX R3 ; +0x62, 0x306a62 MOV R0, R5 ; +0x64, 0x306a64 POP.W {R4-R8,PC} ; +0x66, 0x306a66