; ; cocos2d::CCFileUtilsWin32::fullPathForFilename from 0x18007d250 to 0x18007d310 (192 bytes) ; ; 3 xrefs: ; > @ 0x180107838 ; > @ 0x18014cf68 ; > @ 0x1801bef74 ; ; 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:00 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x18007d250 push rdi ; +0x5, 0x18007d255 sub rsp, 70h ; +0x6, 0x18007d256 mov rax, cs:__security_cookie ; +0xa, 0x18007d25a xor rax, rsp ; +0x11, 0x18007d261 mov [rsp+78h+var_18], rax ; +0x14, 0x18007d264 mov rdi, rdx ; +0x19, 0x18007d269 mov rbx, rcx ; +0x1c, 0x18007d26c mov [rsp+78h+var_40], rdx ; +0x1f, 0x18007d26f lea rdx, [rsp+78h+Block] ; +0x24, 0x18007d274 call ?utf8Togbk@CCFileUtilsWin32@cocos2d@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@Z; cocos2d::CCFileUtilsWin32::utf8Togbk(char const *) ; +0x29, 0x18007d279 nop ; +0x2e, 0x18007d27e lea r8, [rsp+78h+Block] ; +0x2f, 0x18007d27f cmp [rsp+78h+var_20], 0Fh ; +0x34, 0x18007d284 cmova r8, [rsp+78h+Block] ; +0x3a, 0x18007d28a xor r9d, r9d ; +0x40, 0x18007d290 mov rdx, rdi ; +0x43, 0x18007d293 mov rcx, rbx ; +0x46, 0x18007d296 call ?fullPathForFilename@CCFileUtils@cocos2d@@UEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD_N@Z; cocos2d::CCFileUtils::fullPathForFilename(char const *,bool) ; +0x49, 0x18007d299 nop ; +0x4e, 0x18007d29e mov rdx, [rsp+78h+var_20] ; +0x4f, 0x18007d29f cmp rdx, 0Fh ; +0x54, 0x18007d2a4 jbe short loc_18007D2F2 ; +0x58, 0x18007d2a8 inc rdx ; +0x5a, 0x18007d2aa mov rcx, [rsp+78h+Block]; Block ; +0x5d, 0x18007d2ad mov rax, rcx ; +0x62, 0x18007d2b2 cmp rdx, 1000h ; +0x65, 0x18007d2b5 jb short loc_18007D2ED ; +0x6c, 0x18007d2bc add rdx, 27h ; ''' ; +0x6e, 0x18007d2be mov rcx, [rcx-8] ; +0x72, 0x18007d2c2 sub rax, rcx ; +0x76, 0x18007d2c6 sub rax, 8 ; +0x79, 0x18007d2c9 cmp rax, 1Fh ; +0x7d, 0x18007d2cd jbe short loc_18007D2ED ; +0x81, 0x18007d2d1 mov [rsp+78h+Reserved], 0; Reserved ; +0x83, 0x18007d2d3 xor r9d, r9d; LineNo ; +0x8c, 0x18007d2dc xor r8d, r8d; FileName ; +0x8f, 0x18007d2df xor edx, edx; FunctionName ; +0x92, 0x18007d2e2 xor ecx, ecx; Expression ; +0x94, 0x18007d2e4 call cs:_invoke_watson ; +0x96, 0x18007d2e6 db 0CCh ; +0x9c, 0x18007d2ec call j_j_free_0 ; +0x9d, 0x18007d2ed mov rax, rdi ; +0xa2, 0x18007d2f2 mov rcx, [rsp+78h+var_18] ; +0xa5, 0x18007d2f5 xor rcx, rsp; StackCookie ; +0xaa, 0x18007d2fa call __security_check_cookie ; +0xad, 0x18007d2fd mov rbx, [rsp+78h+arg_18] ; +0xb2, 0x18007d302 add rsp, 70h ; +0xba, 0x18007d30a pop rdi ; +0xbe, 0x18007d30e retn ; +0xbf, 0x18007d30f