; ; cocos2d::CCAnimationCache::addAnimationsWithFile from 0x18008a6b0 to 0x18008a767 (183 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b5a78 ; ; 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, 0x18008a6b0 push rdi ; +0x5, 0x18008a6b5 sub rsp, 50h ; +0x6, 0x18008a6b6 mov rax, cs:__security_cookie ; +0xa, 0x18008a6ba xor rax, rsp ; +0x11, 0x18008a6c1 mov [rsp+58h+var_18], rax ; +0x14, 0x18008a6c4 mov rbx, rdx ; +0x19, 0x18008a6c9 mov rdi, rcx ; +0x1c, 0x18008a6cc call ?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x1f, 0x18008a6cf mov r10, [rax] ; +0x24, 0x18008a6d4 xor r9d, r9d ; +0x27, 0x18008a6d7 mov r8, rbx ; +0x2a, 0x18008a6da lea rdx, [rsp+58h+Block] ; +0x2d, 0x18008a6dd mov rcx, rax ; +0x32, 0x18008a6e2 call qword ptr [r10+28h] ; +0x35, 0x18008a6e5 nop ; +0x39, 0x18008a6e9 lea rcx, [rsp+58h+Block] ; +0x3a, 0x18008a6ea cmp [rsp+58h+var_20], 0Fh ; +0x3f, 0x18008a6ef cmova rcx, [rsp+58h+Block]; char * ; +0x45, 0x18008a6f5 call ?createWithContentsOfFile@CCDictionary@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCDictionary::createWithContentsOfFile(char const *) ; +0x4b, 0x18008a6fb mov r8, rbx; char * ; +0x50, 0x18008a700 mov rdx, rax; struct cocos2d::CCDictionary * ; +0x53, 0x18008a703 mov rcx, rdi; this ; +0x56, 0x18008a706 call ?addAnimationsWithDictionary@CCAnimationCache@cocos2d@@QEAAXPEAVCCDictionary@2@PEBD@Z; cocos2d::CCAnimationCache::addAnimationsWithDictionary(cocos2d::CCDictionary *,char const *) ; +0x59, 0x18008a709 nop ; +0x5e, 0x18008a70e mov rdx, [rsp+58h+var_20] ; +0x5f, 0x18008a70f cmp rdx, 0Fh ; +0x64, 0x18008a714 jbe short loc_18008A74F ; +0x68, 0x18008a718 inc rdx ; +0x6a, 0x18008a71a mov rcx, [rsp+58h+Block]; Block ; +0x6d, 0x18008a71d mov rax, rcx ; +0x72, 0x18008a722 cmp rdx, 1000h ; +0x75, 0x18008a725 jb short loc_18008A74A ; +0x7c, 0x18008a72c add rdx, 27h ; ''' ; +0x7e, 0x18008a72e mov rcx, [rcx-8] ; +0x82, 0x18008a732 sub rax, rcx ; +0x86, 0x18008a736 add rax, 0FFFFFFFFFFFFFFF8h ; +0x89, 0x18008a739 cmp rax, 1Fh ; +0x8d, 0x18008a73d jbe short loc_18008A74A ; +0x91, 0x18008a741 call cs:_invalid_parameter_noinfo_noreturn ; +0x93, 0x18008a743 align 2 ; +0x99, 0x18008a749 call j_j_free_0 ; +0x9a, 0x18008a74a mov rcx, [rsp+58h+var_18] ; +0x9f, 0x18008a74f xor rcx, rsp; StackCookie ; +0xa4, 0x18008a754 call __security_check_cookie ; +0xa7, 0x18008a757 mov rbx, [rsp+58h+arg_0] ; +0xac, 0x18008a75c add rsp, 50h ; +0xb1, 0x18008a761 pop rdi ; +0xb5, 0x18008a765 retn ; +0xb6, 0x18008a766