; ; cocos2d::CCAnimation::addSpriteFrameWithFileName from 0x1800899b0 to 0x180089a29 (121 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b59ac ; ; 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, 0x1800899b0 push rdi ; +0x5, 0x1800899b5 sub rsp, 30h ; +0x6, 0x1800899b6 mov rbx, rdx ; +0xa, 0x1800899ba mov rdi, rcx ; +0xd, 0x1800899bd call ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x10, 0x1800899c0 mov rcx, rax; this ; +0x15, 0x1800899c5 xor r8d, r8d; bool ; +0x18, 0x1800899c8 mov rdx, rbx; char * ; +0x1b, 0x1800899cb call ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x1e, 0x1800899ce lea rdx, unk_1801A87B8; struct cocos2d::CCRect * ; +0x23, 0x1800899d3 mov rbx, rax ; +0x2a, 0x1800899da lea rcx, [rsp+38h+var_18]; this ; +0x2d, 0x1800899dd call ??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x32, 0x1800899e2 mov r8, [rbx] ; +0x37, 0x1800899e7 lea rdx, [rsp+38h+arg_10] ; +0x3a, 0x1800899ea mov rcx, rbx ; +0x3f, 0x1800899ef call qword ptr [r8+88h] ; +0x42, 0x1800899f2 mov rdx, rax ; +0x49, 0x1800899f9 lea rcx, [rsp+38h+var_10] ; +0x4c, 0x1800899fc call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x51, 0x180089a01 lea rdx, [rsp+38h+var_18]; struct cocos2d::CCRect * ; +0x56, 0x180089a06 mov rcx, rbx; struct cocos2d::CCTexture2D * ; +0x5b, 0x180089a0b call ?createWithTexture@CCSpriteFrame@cocos2d@@SAPEAV12@PEAVCCTexture2D@2@AEBVCCRect@2@@Z; cocos2d::CCSpriteFrame::createWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const &) ; +0x5e, 0x180089a0e mov rdx, rax; struct cocos2d::CCSpriteFrame * ; +0x63, 0x180089a13 mov rcx, rdi; this ; +0x66, 0x180089a16 call ?addSpriteFrame@CCAnimation@cocos2d@@QEAAXPEAVCCSpriteFrame@2@@Z; cocos2d::CCAnimation::addSpriteFrame(cocos2d::CCSpriteFrame *) ; +0x69, 0x180089a19 mov rbx, [rsp+38h+arg_0] ; +0x6e, 0x180089a1e add rsp, 30h ; +0x73, 0x180089a23 pop rdi ; +0x77, 0x180089a27 retn ; +0x78, 0x180089a28