; ; CCSpriteWithHue::createWithSpriteFrame from 0x306a70 to 0x306acc (92 bytes) ; ; 1 xrefs: ; > CCSpriteWithHue::createWithSpriteFrameName @ 0x306ae2 ; ; 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, 0x306a70 MOV R6, R0 ; +0x2, 0x306a72 LDR R5, =(_ZSt7nothrow_ptr - 0x306A7E) ; +0x4, 0x306a74 MOV.W R0, #0x23C; unsigned int ; +0x6, 0x306a76 ADD R5, PC; _ZSt7nothrow_ptr ; +0xa, 0x306a7a LDR R5, [R5]; std::nothrow ... ; +0xc, 0x306a7c MOV R1, R5; std::nothrow_t * ; +0xe, 0x306a7e BL _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x10, 0x306a80 MOV R4, R0 ; +0x14, 0x306a84 CBZ R0, loc_306ABC ; +0x16, 0x306a86 MOVS R1, #0; int ; +0x18, 0x306a88 MOV.W R2, #0x23C; size_t ; +0x1a, 0x306a8a BLX memset ; +0x1e, 0x306a8e MOV R0, R4; this ; +0x22, 0x306a92 BL _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x24, 0x306a94 B loc_306AA6 ; +0x28, 0x306a98 MOV R0, R4; p ; +0x2a, 0x306a9a MOV R1, R5; std::nothrow_t * ; +0x2c, 0x306a9c BL _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x2e, 0x306a9e BL __cxa_end_cleanup ; +0x32, 0x306aa2 CBZ R6, loc_306AC0 ; +0x36, 0x306aa6 LDR R3, [R4] ; +0x38, 0x306aa8 MOV R0, R4 ; +0x3a, 0x306aaa MOV R1, R6 ; +0x3c, 0x306aac LDR.W R3, [R3,#0x1FC] ; +0x3e, 0x306aae BLX R3 ; +0x42, 0x306ab2 CBZ R0, loc_306AC0 ; +0x44, 0x306ab4 MOV R0, R4; this ; +0x46, 0x306ab6 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x48, 0x306ab8 MOV R0, R4 ; +0x4c, 0x306abc POP {R4-R6,PC} ; +0x4e, 0x306abe LDR R3, [R4] ; +0x50, 0x306ac0 MOV R0, R4 ; +0x52, 0x306ac2 LDR R3, [R3,#8] ; +0x54, 0x306ac4 BLX R3 ; +0x56, 0x306ac6 MOVS R0, #0 ; +0x58, 0x306ac8 POP {R4-R6,PC} ; +0x5a, 0x306aca