{"type": "func", "start": 4297336128, "end": 4297336322, "name": "GJMessageCell::draw", "pseudocode": "// \n// GJMessageCell::draw from 0x100242540 to 0x100242602 (194 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100aedf00\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 12:27:18 +0000\n// \n\n__int64 __fastcall GJMessageCell::draw(__int64 a1)\n{\n  _BYTE v2[8]; // [rsp+8h] [rbp-28h] BYREF\n  double v3; // [rsp+10h] [rbp-20h] BYREF\n  float v4; // [rsp+18h] [rbp-18h] BYREF\n  float v5; // [rsp+1Ch] [rbp-14h]\n\n  sub_100278260(\n    &v4,\n    COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 520)),\n    COERCE_DOUBLE((unsigned __int64)*(_DWORD *)(a1 + 524)));\n  cocos2d::ccDrawColor4B(0, 0, 0, 75);\n  glLineWidth(2.0);\n  sub_100278250(v2, 1.0, v5);\n  sub_100278250(&v3, v4 + -1.0, v5);\n  cocos2d::ccDrawLine((__int64)v2, &v3);\n  sub_100278250(v2, 1.0, 0.0);\n  sub_100278250(&v3, v4 + -1.0, 0.0);\n  return cocos2d::ccDrawLine((__int64)v2, &v3);\n}", "assembly": "; \n; GJMessageCell::draw from 0x100242540 to 0x100242602 (194 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100aedf00\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 12:27:18 +0000\n; \npush    rbp                                                            ; +0x0, 0x100242540\nmov     rbp, rsp                                                       ; +0x1, 0x100242541\npush    r14                                                            ; +0x4, 0x100242544\npush    rbx                                                            ; +0x6, 0x100242546\nsub     rsp, 20h                                                       ; +0x7, 0x100242547\nmovss   xmm0, dword ptr [rdi+208h]                                     ; +0xb, 0x10024254b\nmovss   xmm1, dword ptr [rdi+20Ch]                                     ; +0x13, 0x100242553\nlea     rdi, [rbp+var_18]                                              ; +0x1b, 0x10024255b\ncall    sub_100278260                                                  ; +0x1f, 0x10024255f\nxor     edi, edi                                                       ; +0x24, 0x100242564\nxor     esi, esi                                                       ; +0x26, 0x100242566\nxor     edx, edx                                                       ; +0x28, 0x100242568\nmov     ecx, 4Bh ; 'K'                                                 ; +0x2a, 0x10024256a\ncall    cocos2d__ccDrawColor4B                                         ; +0x2f, 0x10024256f\nmovss   xmm0, cs:width; width                                          ; +0x34, 0x100242574\ncall    _glLineWidth                                                   ; +0x3c, 0x10024257c\nmovss   xmm1, [rbp+var_14]                                             ; +0x41, 0x100242581\nlea     rbx, [rbp+var_28]                                              ; +0x46, 0x100242586\nmovss   xmm0, cs:alpha                                                 ; +0x4a, 0x10024258a\nmov     rdi, rbx                                                       ; +0x52, 0x100242592\ncall    sub_100278250                                                  ; +0x55, 0x100242595\nmovss   xmm0, [rbp+var_18]                                             ; +0x5a, 0x10024259a\naddss   xmm0, cs:dword_100A035E0                                       ; +0x5f, 0x10024259f\nmovss   xmm1, [rbp+var_14]                                             ; +0x67, 0x1002425a7\nlea     r14, [rbp+var_20]                                              ; +0x6c, 0x1002425ac\nmov     rdi, r14                                                       ; +0x70, 0x1002425b0\ncall    sub_100278250                                                  ; +0x73, 0x1002425b3\nmov     rdi, rbx                                                       ; +0x78, 0x1002425b8\nmov     rsi, r14                                                       ; +0x7b, 0x1002425bb\ncall    cocos2d__ccDrawLine                                            ; +0x7e, 0x1002425be\nxorps   xmm1, xmm1                                                     ; +0x83, 0x1002425c3\nmov     rdi, rbx                                                       ; +0x86, 0x1002425c6\nmovss   xmm0, cs:alpha                                                 ; +0x89, 0x1002425c9\ncall    sub_100278250                                                  ; +0x91, 0x1002425d1\nmovss   xmm0, cs:dword_100A035E0                                       ; +0x96, 0x1002425d6\naddss   xmm0, [rbp+var_18]                                             ; +0x9e, 0x1002425de\nxorps   xmm1, xmm1                                                     ; +0xa3, 0x1002425e3\nmov     rdi, r14                                                       ; +0xa6, 0x1002425e6\ncall    sub_100278250                                                  ; +0xa9, 0x1002425e9\nmov     rdi, rbx                                                       ; +0xae, 0x1002425ee\nmov     rsi, r14                                                       ; +0xb1, 0x1002425f1\ncall    cocos2d__ccDrawLine                                            ; +0xb4, 0x1002425f4\nadd     rsp, 20h                                                       ; +0xb9, 0x1002425f9\npop     rbx                                                            ; +0xbd, 0x1002425fd\npop     r14                                                            ; +0xbe, 0x1002425fe\npop     rbp                                                            ; +0xc0, 0x100242600\nretn                                                                   ; +0xc1, 0x100242601", "xrefs": ["<???> @ 0x100aedf00"], "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"}