{"type": "func", "start": 4297426912, "end": 4297427106, "name": "GJMessageCell::draw", "pseudocode": "// \n// GJMessageCell::draw from 0x1002587e0 to 0x1002588a2 (194 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008e8ae0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJMessageCell::draw(GJMessageCell *a1)\n{\n  cocos2d::CCPoint v1; // [rsp+8h] [rbp-28h] BYREF\n  cocos2d::CCPoint v2; // [rsp+10h] [rbp-20h] BYREF\n  float v3; // [rsp+18h] [rbp-18h] BYREF\n  float v4; // [rsp+1Ch] [rbp-14h]\n\n  sub_10028CBF0(&v3, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\n  sub_10028CBE0(&v1, 1.0, v4);\n  sub_10028CBE0(&v2, v3 + -1.0, v4);\n  cocos2d::ccDrawLine(&v1, &v2);\n  sub_10028CBE0(&v1, 1.0, 0.0);\n  sub_10028CBE0(&v2, v3 + -1.0, 0.0);\n  cocos2d::ccDrawLine(&v1, &v2);\n}", "assembly": "; \n; GJMessageCell::draw from 0x1002587e0 to 0x1002588a2 (194 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008e8ae0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1002587e0\nmov     rbp, rsp                                                       ; +0x1, 0x1002587e1\npush    r14                                                            ; +0x4, 0x1002587e4\npush    rbx                                                            ; +0x6, 0x1002587e6\nsub     rsp, 20h                                                       ; +0x7, 0x1002587e7\nmovss   xmm0, dword ptr [rdi+208h]                                     ; +0xb, 0x1002587eb\nmovss   xmm1, dword ptr [rdi+20Ch]                                     ; +0x13, 0x1002587f3\nlea     rdi, [rbp+var_18]                                              ; +0x1b, 0x1002587fb\ncall    sub_10028CBF0                                                  ; +0x1f, 0x1002587ff\nxor     edi, edi                                                       ; +0x24, 0x100258804\nxor     esi, esi                                                       ; +0x26, 0x100258806\nxor     edx, edx                                                       ; +0x28, 0x100258808\nmov     ecx, 4Bh ; 'K'                                                 ; +0x2a, 0x10025880a\ncall    cocos2d__ccDrawColor4B                                         ; +0x2f, 0x10025880f\nmovss   xmm0, cs:width; width                                          ; +0x34, 0x100258814\ncall    _glLineWidth                                                   ; +0x3c, 0x10025881c\nmovss   xmm1, [rbp+var_14]                                             ; +0x41, 0x100258821\nlea     rbx, [rbp+var_28]                                              ; +0x46, 0x100258826\nmovss   xmm0, cs:alpha                                                 ; +0x4a, 0x10025882a\nmov     rdi, rbx                                                       ; +0x52, 0x100258832\ncall    sub_10028CBE0                                                  ; +0x55, 0x100258835\nmovss   xmm0, [rbp+var_18]                                             ; +0x5a, 0x10025883a\naddss   xmm0, cs:dword_100815094                                       ; +0x5f, 0x10025883f\nmovss   xmm1, [rbp+var_14]                                             ; +0x67, 0x100258847\nlea     r14, [rbp+var_20]                                              ; +0x6c, 0x10025884c\nmov     rdi, r14                                                       ; +0x70, 0x100258850\ncall    sub_10028CBE0                                                  ; +0x73, 0x100258853\nmov     rdi, rbx                                                       ; +0x78, 0x100258858\nmov     rsi, r14                                                       ; +0x7b, 0x10025885b\ncall    cocos2d__ccDrawLine                                            ; +0x7e, 0x10025885e\nxorps   xmm1, xmm1                                                     ; +0x83, 0x100258863\nmov     rdi, rbx                                                       ; +0x86, 0x100258866\nmovss   xmm0, cs:alpha                                                 ; +0x89, 0x100258869\ncall    sub_10028CBE0                                                  ; +0x91, 0x100258871\nmovss   xmm0, cs:dword_100815094                                       ; +0x96, 0x100258876\naddss   xmm0, [rbp+var_18]                                             ; +0x9e, 0x10025887e\nxorps   xmm1, xmm1                                                     ; +0xa3, 0x100258883\nmov     rdi, r14                                                       ; +0xa6, 0x100258886\ncall    sub_10028CBE0                                                  ; +0xa9, 0x100258889\nmov     rdi, rbx                                                       ; +0xae, 0x10025888e\nmov     rsi, r14                                                       ; +0xb1, 0x100258891\ncall    cocos2d__ccDrawLine                                            ; +0xb4, 0x100258894\nadd     rsp, 20h                                                       ; +0xb9, 0x100258899\npop     rbx                                                            ; +0xbd, 0x10025889d\npop     r14                                                            ; +0xbe, 0x10025889e\npop     rbp                                                            ; +0xc0, 0x1002588a0\nretn                                                                   ; +0xc1, 0x1002588a1", "xrefs": ["<???> @ 0x1008e8ae0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}