; ; cocos2d::CCFileUtilsWin32::removeSearchPath from 0x18007e1c0 to 0x18007e266 (166 bytes) ; ; 3 xrefs: ; > @ 0x1801077b0 ; > @ 0x18014cf68 ; > @ 0x1801befc8 ; ; 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:01 +0000 ; push rbx ; +0x0, 0x18007e1c0 sub rsp, 60h ; +0x2, 0x18007e1c2 mov rax, cs:__security_cookie ; +0x6, 0x18007e1c6 xor rax, rsp ; +0xd, 0x18007e1cd mov [rsp+68h+var_18], rax ; +0x10, 0x18007e1d0 mov rbx, rcx ; +0x15, 0x18007e1d5 mov r8, rdx ; +0x18, 0x18007e1d8 lea rdx, [rsp+68h+Block] ; +0x1b, 0x18007e1db 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 *) ; +0x20, 0x18007e1e0 nop ; +0x25, 0x18007e1e5 lea rdx, [rsp+68h+Block] ; +0x26, 0x18007e1e6 cmp [rsp+68h+var_20], 0Fh ; +0x2b, 0x18007e1eb cmova rdx, [rsp+68h+Block]; char * ; +0x31, 0x18007e1f1 mov rcx, rbx; this ; +0x37, 0x18007e1f7 call ?removeSearchPath@CCFileUtils@cocos2d@@UEAAXPEBD@Z; cocos2d::CCFileUtils::removeSearchPath(char const *) ; +0x3a, 0x18007e1fa nop ; +0x3f, 0x18007e1ff mov rdx, [rsp+68h+var_20] ; +0x40, 0x18007e200 cmp rdx, 0Fh ; +0x45, 0x18007e205 jbe short loc_18007E253 ; +0x49, 0x18007e209 inc rdx ; +0x4b, 0x18007e20b mov rcx, [rsp+68h+Block]; Block ; +0x4e, 0x18007e20e mov rax, rcx ; +0x53, 0x18007e213 cmp rdx, 1000h ; +0x56, 0x18007e216 jb short loc_18007E24E ; +0x5d, 0x18007e21d add rdx, 27h ; ''' ; +0x5f, 0x18007e21f mov rcx, [rcx-8] ; +0x63, 0x18007e223 sub rax, rcx ; +0x67, 0x18007e227 sub rax, 8 ; +0x6a, 0x18007e22a cmp rax, 1Fh ; +0x6e, 0x18007e22e jbe short loc_18007E24E ; +0x72, 0x18007e232 mov [rsp+68h+Reserved], 0; Reserved ; +0x74, 0x18007e234 xor r9d, r9d; LineNo ; +0x7d, 0x18007e23d xor r8d, r8d; FileName ; +0x80, 0x18007e240 xor edx, edx; FunctionName ; +0x83, 0x18007e243 xor ecx, ecx; Expression ; +0x85, 0x18007e245 call cs:_invoke_watson ; +0x87, 0x18007e247 align 2 ; +0x8d, 0x18007e24d call j_j_free_0 ; +0x8e, 0x18007e24e mov rcx, [rsp+68h+var_18] ; +0x93, 0x18007e253 xor rcx, rsp; StackCookie ; +0x98, 0x18007e258 call __security_check_cookie ; +0x9b, 0x18007e25b add rsp, 60h ; +0xa0, 0x18007e260 pop rbx ; +0xa4, 0x18007e264 retn ; +0xa5, 0x18007e265