{"type": "func", "start": 6443252608, "end": 6443252700, "name": "sub_1800C3B80", "pseudocode": "// \n// sub_1800C3B80 from 0x1800c3b80 to 0x1800c3bdc (92 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCDirector::showFPSLabel @ 0x1800c3656\n// > <???> @ 0x1801c36f0\n// > <???> @ 0x1801c36fc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:26 +0000\n// \n\nint sub_1800C3B80(char *Buffer, size_t BufferCount, char *Format, ...)\n{\n  _QWORD *v6; // rax\n  int result; // eax\n  va_list va; // [rsp+78h] [rbp+20h] BYREF\n\n  va_start(va, Format);\n  v6 = sub_1800095E0();\n  result = _stdio_common_vsprintf(*v6 | 2LL, Buffer, BufferCount, Format, nullptr, va);\n  if ( result < 0 )\n    return -1;\n  return result;\n}", "assembly": "; \n; sub_1800C3B80 from 0x1800c3b80 to 0x1800c3bdc (92 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCDirector::showFPSLabel @ 0x1800c3656\n; > <???> @ 0x1801c36f0\n; > <???> @ 0x1801c36fc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:26 +0000\n; \nmov     [rsp+arg_10], r8                                               ; +0x0, 0x1800c3b80\nmov     qword ptr [rsp+arg_18], r9                                     ; +0x5, 0x1800c3b85\npush    rbx                                                            ; +0xa, 0x1800c3b8a\npush    rbp                                                            ; +0xb, 0x1800c3b8b\npush    rsi                                                            ; +0xc, 0x1800c3b8c\npush    rdi                                                            ; +0xd, 0x1800c3b8d\nsub     rsp, 38h                                                       ; +0xe, 0x1800c3b8e\nmov     rsi, r8                                                        ; +0x12, 0x1800c3b92\nlea     rbp, [rsp+58h+arg_18]                                          ; +0x15, 0x1800c3b95\nmov     rbx, rdx                                                       ; +0x1a, 0x1800c3b9a\nmov     rdi, rcx                                                       ; +0x1d, 0x1800c3b9d\ncall    sub_1800095E0                                                  ; +0x20, 0x1800c3ba0\nmov     [rsp+58h+ArgList], rbp; ArgList                                ; +0x25, 0x1800c3ba5\nmov     r9, rsi; Format                                                ; +0x2a, 0x1800c3baa\nmov     r8, rbx; BufferCount                                           ; +0x2d, 0x1800c3bad\nmov     [rsp+58h+Locale], 0; Locale                                    ; +0x30, 0x1800c3bb0\nmov     rdx, rdi; Buffer                                               ; +0x39, 0x1800c3bb9\nmov     rcx, [rax]                                                     ; +0x3c, 0x1800c3bbc\nor      rcx, 2; Options                                                ; +0x3f, 0x1800c3bbf\ncall    cs:__stdio_common_vsprintf                                     ; +0x43, 0x1800c3bc3\ntest    eax, eax                                                       ; +0x49, 0x1800c3bc9\nmov     ecx, 0FFFFFFFFh                                                ; +0x4b, 0x1800c3bcb\ncmovs   eax, ecx                                                       ; +0x50, 0x1800c3bd0\nadd     rsp, 38h                                                       ; +0x53, 0x1800c3bd3\npop     rdi                                                            ; +0x57, 0x1800c3bd7\npop     rsi                                                            ; +0x58, 0x1800c3bd8\npop     rbp                                                            ; +0x59, 0x1800c3bd9\npop     rbx                                                            ; +0x5a, 0x1800c3bda\nretn                                                                   ; +0x5b, 0x1800c3bdb", "xrefs": ["cocos2d::CCDirector::showFPSLabel @ 0x1800c3656", "<???> @ 0x1801c36f0", "<???> @ 0x1801c36fc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}