; ; cocos2d::CCFileUtilsWin32::fullPathForFilename from 0x18007a2c0 to 0x18007a36d (173 bytes) ; ; 3 xrefs: ; > @ 0x180101160 ; > @ 0x1801438a8 ; > @ 0x1801b4c98 ; ; 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_18], rbx ; +0x0, 0x18007a2c0 push rdi ; +0x5, 0x18007a2c5 sub rsp, 60h ; +0x6, 0x18007a2c6 mov rax, cs:__security_cookie ; +0xa, 0x18007a2ca xor rax, rsp ; +0x11, 0x18007a2d1 mov [rsp+68h+var_18], rax ; +0x14, 0x18007a2d4 mov rdi, rdx ; +0x19, 0x18007a2d9 mov rbx, rcx ; +0x1c, 0x18007a2dc mov [rsp+68h+var_40], rdx ; +0x1f, 0x18007a2df lea rdx, [rsp+68h+Block] ; +0x24, 0x18007a2e4 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, 0x18007a2e9 nop ; +0x2e, 0x18007a2ee lea r8, [rsp+68h+Block] ; +0x2f, 0x18007a2ef cmp [rsp+68h+var_20], 0Fh ; +0x34, 0x18007a2f4 cmova r8, [rsp+68h+Block] ; +0x3a, 0x18007a2fa xor r9d, r9d ; +0x40, 0x18007a300 mov rdx, rdi ; +0x43, 0x18007a303 mov rcx, rbx ; +0x46, 0x18007a306 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, 0x18007a309 nop ; +0x4e, 0x18007a30e mov rdx, [rsp+68h+var_20] ; +0x4f, 0x18007a30f cmp rdx, 0Fh ; +0x54, 0x18007a314 jbe short loc_18007A34F ; +0x58, 0x18007a318 inc rdx ; +0x5a, 0x18007a31a mov rcx, [rsp+68h+Block]; Block ; +0x5d, 0x18007a31d mov rax, rcx ; +0x62, 0x18007a322 cmp rdx, 1000h ; +0x65, 0x18007a325 jb short loc_18007A34A ; +0x6c, 0x18007a32c add rdx, 27h ; ''' ; +0x6e, 0x18007a32e mov rcx, [rcx-8] ; +0x72, 0x18007a332 sub rax, rcx ; +0x76, 0x18007a336 add rax, 0FFFFFFFFFFFFFFF8h ; +0x79, 0x18007a339 cmp rax, 1Fh ; +0x7d, 0x18007a33d jbe short loc_18007A34A ; +0x81, 0x18007a341 call cs:_invalid_parameter_noinfo_noreturn ; +0x83, 0x18007a343 align 2 ; +0x89, 0x18007a349 call j_j_free_0 ; +0x8a, 0x18007a34a mov rax, rdi ; +0x8f, 0x18007a34f mov rcx, [rsp+68h+var_18] ; +0x92, 0x18007a352 xor rcx, rsp; StackCookie ; +0x97, 0x18007a357 call __security_check_cookie ; +0x9a, 0x18007a35a mov rbx, [rsp+68h+arg_18] ; +0x9f, 0x18007a35f add rsp, 60h ; +0xa7, 0x18007a367 pop rdi ; +0xab, 0x18007a36b retn ; +0xac, 0x18007a36c