; ; cocos2d::CCAnimationCache::addAnimationsWithFile from 0x18008d700 to 0x18008d7cd (205 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bfd48 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:06 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18008d700 push rdi ; +0x5, 0x18008d705 sub rsp, 60h ; +0x6, 0x18008d706 mov rax, cs:__security_cookie ; +0xa, 0x18008d70a xor rax, rsp ; +0x11, 0x18008d711 mov [rsp+68h+var_18], rax ; +0x14, 0x18008d714 mov rbx, rdx ; +0x19, 0x18008d719 mov rdi, rcx ; +0x1c, 0x18008d71c call ?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x1f, 0x18008d71f mov rdx, [rax] ; +0x24, 0x18008d724 mov r10, [rdx+28h] ; +0x27, 0x18008d727 xor r9d, r9d ; +0x2b, 0x18008d72b mov r8, rbx ; +0x2e, 0x18008d72e lea rdx, [rsp+68h+Block] ; +0x31, 0x18008d731 mov rcx, rax ; +0x36, 0x18008d736 call r10 ; +0x39, 0x18008d739 nop ; +0x3c, 0x18008d73c lea rcx, [rsp+68h+Block] ; +0x3d, 0x18008d73d cmp [rsp+68h+var_20], 0Fh ; +0x42, 0x18008d742 cmova rcx, [rsp+68h+Block]; char * ; +0x48, 0x18008d748 call ?createWithContentsOfFile@CCDictionary@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCDictionary::createWithContentsOfFile(char const *) ; +0x4e, 0x18008d74e mov r8, rbx; char * ; +0x53, 0x18008d753 mov rdx, rax; struct cocos2d::CCDictionary * ; +0x56, 0x18008d756 mov rcx, rdi; this ; +0x59, 0x18008d759 call ?addAnimationsWithDictionary@CCAnimationCache@cocos2d@@QEAAXPEAVCCDictionary@2@PEBD@Z; cocos2d::CCAnimationCache::addAnimationsWithDictionary(cocos2d::CCDictionary *,char const *) ; +0x5c, 0x18008d75c nop ; +0x61, 0x18008d761 mov rdx, [rsp+68h+var_20] ; +0x62, 0x18008d762 cmp rdx, 0Fh ; +0x67, 0x18008d767 jbe short loc_18008D7B5 ; +0x6b, 0x18008d76b inc rdx ; +0x6d, 0x18008d76d mov rcx, [rsp+68h+Block]; Block ; +0x70, 0x18008d770 mov rax, rcx ; +0x75, 0x18008d775 cmp rdx, 1000h ; +0x78, 0x18008d778 jb short loc_18008D7B0 ; +0x7f, 0x18008d77f add rdx, 27h ; ''' ; +0x81, 0x18008d781 mov rcx, [rcx-8] ; +0x85, 0x18008d785 sub rax, rcx ; +0x89, 0x18008d789 sub rax, 8 ; +0x8c, 0x18008d78c cmp rax, 1Fh ; +0x90, 0x18008d790 jbe short loc_18008D7B0 ; +0x94, 0x18008d794 mov [rsp+68h+Reserved], 0; Reserved ; +0x96, 0x18008d796 xor r9d, r9d; LineNo ; +0x9f, 0x18008d79f xor r8d, r8d; FileName ; +0xa2, 0x18008d7a2 xor edx, edx; FunctionName ; +0xa5, 0x18008d7a5 xor ecx, ecx; Expression ; +0xa7, 0x18008d7a7 call cs:_invoke_watson ; +0xa9, 0x18008d7a9 align 10h ; +0xaf, 0x18008d7af call j_j_free_0 ; +0xb0, 0x18008d7b0 mov rcx, [rsp+68h+var_18] ; +0xb5, 0x18008d7b5 xor rcx, rsp; StackCookie ; +0xba, 0x18008d7ba call __security_check_cookie ; +0xbd, 0x18008d7bd mov rbx, [rsp+68h+arg_0] ; +0xc2, 0x18008d7c2 add rsp, 60h ; +0xc7, 0x18008d7c7 pop rdi ; +0xcb, 0x18008d7cb retn ; +0xcc, 0x18008d7cc