; ; CCSpriteWithHue::initWithTexture from 0x140048600 to 0x140048659 (89 bytes) ; ; 3 xrefs: ; > @ 0x140530fa0 ; > @ 0x1405314e0 ; > @ 0x1406c4b90 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x140048600 push rdi ; +0x5, 0x140048605 sub rsp, 20h ; +0x6, 0x140048606 mov rbx, rcx ; +0xa, 0x14004860a call cs:__imp_?initWithTexture@CCSprite@cocos2d@@UEAA_NPEAVCCTexture2D@2@AEBVCCRect@2@_N@Z; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const &,bool) ; +0xd, 0x14004860d movzx edi, al ; +0x13, 0x140048613 test al, al ; +0x16, 0x140048616 jz short loc_14004864E ; +0x18, 0x140048618 mov rcx, rbx ; +0x1a, 0x14004861a mov dword ptr [rbx+258h], 0 ; +0x1d, 0x14004861d mov dword ptr [rbx+25Ch], 3E570A3Dh ; +0x27, 0x140048627 mov dword ptr [rbx+260h], 3F3851ECh ; +0x31, 0x140048631 mov dword ptr [rbx+264h], 3D8F5C29h ; +0x3b, 0x14004863b call CCSpriteWithHue__initShader ; +0x45, 0x140048645 movzx eax, dil ; +0x4a, 0x14004864a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x14004864e add rsp, 20h ; +0x53, 0x140048653 pop rdi ; +0x57, 0x140048657 retn ; +0x58, 0x140048658