; ; cocos2d::CCLog from 0x180077930 to 0x180077a59 (297 bytes) ; ; 6 xrefs: ; > cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback @ 0x18007a425 ; > sub_18007A440 @ 0x18007a462 ; > cocos2d::CCApplication::updateController @ 0x18007c090 ; > cocos2d::CCImage::initWithString @ 0x180080067 ; > @ 0x18014cf68 ; > @ 0x1801be968 ; ; 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:21:59 +0000 ; mov [rsp+arg_0], rcx ; +0x0, 0x180077930 mov [rsp+arg_8], rdx ; +0x5, 0x180077935 mov [rsp+arg_10], r8 ; +0xa, 0x18007793a mov [rsp+arg_18], r9 ; +0xf, 0x18007793f push rbx ; +0x14, 0x180077944 push rdi ; +0x15, 0x180077945 mov eax, 0C078h ; +0x16, 0x180077946 call __alloca_probe ; +0x1b, 0x18007794b sub rsp, rax ; +0x20, 0x180077950 mov rax, cs:__security_cookie ; +0x23, 0x180077953 xor rax, rsp ; +0x2a, 0x18007795a mov [rsp+0C088h+var_28], rax ; +0x2d, 0x18007795d mov rbx, rcx ; +0x35, 0x180077965 lea rdi, [rsp+0C088h+arg_8] ; +0x38, 0x180077968 call sub_1800095E0 ; +0x40, 0x180077970 mov [rsp+0C088h+ArgList], rdi; ArgList ; +0x45, 0x180077975 lea rdx, [rsp+0C088h+Buffer]; Buffer ; +0x4a, 0x18007797a mov r9d, 4001h; MaxCount ; +0x4f, 0x18007797f xor edi, edi ; +0x55, 0x180077985 mov [rsp+0C088h+Locale], rdi; Locale ; +0x57, 0x180077987 mov r8d, r9d; BufferCount ; +0x5c, 0x18007798c mov rcx, [rax]; Options ; +0x5f, 0x18007798f mov [rsp+0C088h+Format], rbx; Format ; +0x62, 0x180077992 call cs:__stdio_common_vsnprintf_s ; +0x67, 0x180077997 xor edx, edx; Val ; +0x6d, 0x18007799d lea rcx, [rsp+0C088h+WideCharStr]; void * ; +0x6f, 0x18007799f mov r8d, 8002h; Size ; +0x77, 0x1800779a7 call memset ; +0x7d, 0x1800779ad lea rax, [rsp+0C088h+WideCharStr] ; +0x82, 0x1800779b2 mov dword ptr [rsp+0C088h+Locale], 8002h; cchWideChar ; +0x8a, 0x1800779ba mov r9d, 0FFFFFFFFh; cbMultiByte ; +0x92, 0x1800779c2 mov [rsp+0C088h+Format], rax; lpWideCharStr ; +0x98, 0x1800779c8 lea r8, [rsp+0C088h+Buffer]; lpMultiByteStr ; +0x9d, 0x1800779cd xor edx, edx; dwFlags ; +0xa2, 0x1800779d2 mov ecx, 0FDE9h; CodePage ; +0xa4, 0x1800779d4 call cs:MultiByteToWideChar ; +0xa9, 0x1800779d9 lea rcx, [rsp+0C088h+WideCharStr]; lpOutputString ; +0xaf, 0x1800779df call cs:OutputDebugStringW ; +0xb7, 0x1800779e7 lea rcx, OutputString; "\n" ; +0xbd, 0x1800779ed call cs:OutputDebugStringA ; +0xc4, 0x1800779f4 mov [rsp+0C088h+lpUsedDefaultChar], rdi; lpUsedDefaultChar ; +0xca, 0x1800779fa lea rax, [rsp+0C088h+Buffer] ; +0xcf, 0x1800779ff mov [rsp+0C088h+ArgList], rdi; lpDefaultChar ; +0xd4, 0x180077a04 lea r8, [rsp+0C088h+WideCharStr]; lpWideCharStr ; +0xd9, 0x180077a09 mov dword ptr [rsp+0C088h+Locale], 4001h; cbMultiByte ; +0xe1, 0x180077a11 mov r9d, 8002h; cchWideChar ; +0xe9, 0x180077a19 xor edx, edx; dwFlags ; +0xef, 0x180077a1f mov [rsp+0C088h+Format], rax; lpMultiByteStr ; +0xf1, 0x180077a21 xor ecx, ecx; CodePage ; +0xf6, 0x180077a26 call cs:WideCharToMultiByte ; +0xf8, 0x180077a28 lea rdx, [rsp+0C088h+Buffer] ; +0xfe, 0x180077a2e lea rcx, aS_9; "%s\n" ; +0x103, 0x180077a33 call sub_180077BC0 ; +0x10a, 0x180077a3a mov rcx, [rsp+0C088h+var_28] ; +0x10f, 0x180077a3f xor rcx, rsp; StackCookie ; +0x117, 0x180077a47 call __security_check_cookie ; +0x11a, 0x180077a4a add rsp, 0C078h ; +0x11f, 0x180077a4f pop rdi ; +0x126, 0x180077a56 pop rbx ; +0x127, 0x180077a57 retn ; +0x128, 0x180077a58