; ; cocos2d::CCAnimationCache::sharedAnimationCache from 0x18008b1a0 to 0x18008b225 (133 bytes) ; ; 5 xrefs: ; > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008aa35 ; > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008b03d ; > cocos2d::CCSprite::setDisplayFrameWithAnimationName @ 0x18008c508 ; > @ 0x1801438a8 ; > @ 0x1801b5ac0 ; ; 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_8], rbx ; +0x0, 0x18008b1a0 push rdi ; +0x5, 0x18008b1a5 sub rsp, 20h ; +0x6, 0x18008b1a6 mov rax, cs:?s_pSharedAnimationCache@CCAnimationCache@cocos2d@@0PEAV12@EA; cocos2d::CCAnimationCache * cocos2d::CCAnimationCache::s_pSharedAnimationCache ; +0xa, 0x18008b1aa test rax, rax ; +0x11, 0x18008b1b1 jnz short loc_18008B21A ; +0x14, 0x18008b1b4 lea ecx, [rax+40h]; Size ; +0x16, 0x18008b1b6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x19, 0x18008b1b9 mov rbx, rax ; +0x1e, 0x18008b1be mov [rsp+28h+arg_0], rax ; +0x21, 0x18008b1c1 test rax, rax ; +0x26, 0x18008b1c6 jz short loc_18008B1E5 ; +0x29, 0x18008b1c9 mov rcx, rax; this ; +0x2b, 0x18008b1cb call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2e, 0x18008b1ce lea rax, ??_7CCAnimationCache@cocos2d@@6B@; const cocos2d::CCAnimationCache::`vftable' ; +0x33, 0x18008b1d3 mov [rbx], rax ; +0x3a, 0x18008b1da xor edi, edi ; +0x3d, 0x18008b1dd mov [rbx+38h], rdi ; +0x3f, 0x18008b1df jmp short loc_18008B1E9 ; +0x43, 0x18008b1e3 xor edi, edi ; +0x45, 0x18008b1e5 mov ebx, edi ; +0x47, 0x18008b1e7 mov cs:?s_pSharedAnimationCache@CCAnimationCache@cocos2d@@0PEAV12@EA, rbx; cocos2d::CCAnimationCache * cocos2d::CCAnimationCache::s_pSharedAnimationCache ; +0x49, 0x18008b1e9 mov ecx, 48h ; 'H'; Size ; +0x50, 0x18008b1f0 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x55, 0x18008b1f5 mov [rsp+28h+arg_0], rax ; +0x5a, 0x18008b1fa test rax, rax ; +0x5f, 0x18008b1ff jz short loc_18008B20F ; +0x62, 0x18008b202 mov rcx, rax; this ; +0x64, 0x18008b204 call ??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x67, 0x18008b207 mov rdi, rax ; +0x6c, 0x18008b20c mov [rbx+38h], rdi ; +0x6f, 0x18008b20f mov rax, cs:?s_pSharedAnimationCache@CCAnimationCache@cocos2d@@0PEAV12@EA; cocos2d::CCAnimationCache * cocos2d::CCAnimationCache::s_pSharedAnimationCache ; +0x73, 0x18008b213 mov rbx, [rsp+28h+arg_8] ; +0x7a, 0x18008b21a add rsp, 20h ; +0x7f, 0x18008b21f pop rdi ; +0x83, 0x18008b223 retn ; +0x84, 0x18008b224