{"type": "func", "start": 6442522528, "end": 6442522729, "name": "cocos2d::ccDrawPoint", "pseudocode": "// \n// cocos2d::ccDrawPoint from 0x1800117a0 to 0x180011869 (201 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8374\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:21:22 +0000\n// \n\nvoid __fastcall cocos2d::ccDrawPoint(cocos2d *this, const struct cocos2d::CCPoint *a2)\n{\n  int v3; // xmm1_4\n  unsigned int v4; // edx\n  int v5; // [rsp+40h] [rbp+8h] BYREF\n  int v6; // [rsp+44h] [rbp+Ch]\n\n  cocos2d::ccDrawInit(this);\n  v3 = *((_DWORD *)this + 1);\n  v5 = *(_DWORD *)this;\n  v6 = v3;\n  cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v4);\n  cocos2d::CCGLProgram::use(qword_1801B2358);\n  cocos2d::CCGLProgram::setUniformsForBuiltins(qword_1801B2358);\n  cocos2d::CCGLProgram::setUniformLocationWith4fv(qword_1801B2358, dword_1801ACB58, &flt_1801ACB60, 1u);\n  cocos2d::CCGLProgram::setUniformLocationWith1f(qword_1801B2358, dword_1801ACB5C, flt_1801ACB70);\n  _glewVertexAttribPointer(0, 2, 5126, 0, 0, &v5);\n  glDrawArrays(0, 0, 1);\n  ++g_uNumberOfDraws;\n}", "assembly": "; \n; cocos2d::ccDrawPoint from 0x1800117a0 to 0x180011869 (201 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8374\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:21:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800117a0\nsub     rsp, 30h                                                       ; +0x2, 0x1800117a2\nmov     rbx, rcx                                                       ; +0x6, 0x1800117a6\ncall    ?ccDrawInit@cocos2d@@YAXXZ_0; cocos2d::ccDrawInit(void)        ; +0x9, 0x1800117a9\nmovss   xmm0, dword ptr [rbx]                                          ; +0xe, 0x1800117ae\nmov     ecx, 1; this                                                   ; +0x12, 0x1800117b2\nmovss   xmm1, dword ptr [rbx+4]                                        ; +0x17, 0x1800117b7\nmovss   [rsp+38h+arg_0], xmm0                                          ; +0x1c, 0x1800117bc\nmovss   [rsp+38h+arg_4], xmm1                                          ; +0x22, 0x1800117c2\ncall    ?ccGLEnableVertexAttribs@cocos2d@@YAXI@Z; cocos2d::ccGLEnableVertexAttribs(uint) ; +0x28, 0x1800117c8\nmov     rcx, cs:qword_1801B2358; this                                  ; +0x2d, 0x1800117cd\ncall    ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x34, 0x1800117d4\nmov     rcx, cs:qword_1801B2358; this                                  ; +0x39, 0x1800117d9\ncall    ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x40, 0x1800117e0\nmov     edx, cs:dword_1801ACB58; int                                   ; +0x45, 0x1800117e5\nlea     r8, flt_1801ACB60; float *                                     ; +0x4b, 0x1800117eb\nmov     rcx, cs:qword_1801B2358; this                                  ; +0x52, 0x1800117f2\nmov     r9d, 1; unsigned int                                           ; +0x59, 0x1800117f9\ncall    ?setUniformLocationWith4fv@CCGLProgram@cocos2d@@QEAAXHPEAMI@Z; cocos2d::CCGLProgram::setUniformLocationWith4fv(int,float *,uint) ; +0x5f, 0x1800117ff\nmovss   xmm2, cs:flt_1801ACB70; float                                  ; +0x64, 0x180011804\nmov     edx, cs:dword_1801ACB5C; int                                   ; +0x6c, 0x18001180c\nmov     rcx, cs:qword_1801B2358; this                                  ; +0x72, 0x180011812\ncall    ?setUniformLocationWith1f@CCGLProgram@cocos2d@@QEAAXHM@Z; cocos2d::CCGLProgram::setUniformLocationWith1f(int,float) ; +0x79, 0x180011819\nmov     rax, cs:__glewVertexAttribPointer                              ; +0x7e, 0x18001181e\nxor     r9d, r9d                                                       ; +0x85, 0x180011825\nmov     edx, 2                                                         ; +0x88, 0x180011828\nmov     r8d, 1406h                                                     ; +0x8d, 0x18001182d\nxor     ecx, ecx                                                       ; +0x93, 0x180011833\nmov     r10, [rax]                                                     ; +0x95, 0x180011835\nlea     rax, [rsp+38h+arg_0]                                           ; +0x98, 0x180011838\nmov     [rsp+38h+var_10], rax                                          ; +0x9d, 0x18001183d\nmov     [rsp+38h+var_18], 0                                            ; +0xa2, 0x180011842\ncall    r10                                                            ; +0xaa, 0x18001184a\nxor     edx, edx; first                                                ; +0xad, 0x18001184d\nmov     r8d, 1; count                                                  ; +0xaf, 0x18001184f\nxor     ecx, ecx; mode                                                 ; +0xb5, 0x180011855\ncall    cs:glDrawArrays                                                ; +0xb7, 0x180011857\ninc     cs:?g_uNumberOfDraws@@3IA; uint g_uNumberOfDraws               ; +0xbd, 0x18001185d\nadd     rsp, 30h                                                       ; +0xc3, 0x180011863\npop     rbx                                                            ; +0xc7, 0x180011867\nretn                                                                   ; +0xc8, 0x180011868", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8374"], "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"}