{"type": "func", "start": 5368972528, "end": 5368972668, "name": "GameCell::draw", "pseudocode": "// \n// GameCell::draw from 0x1400404f0 to 0x14004057c (140 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140705760\n// > <???> @ 0x14090f3d4\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:25:29 +0000\n// \n\nvoid __fastcall GameCell::draw(__int64 a1)\n{\n  const struct cocos2d::CCPoint *v1; // rbx\n  cocos2d *v2; // rax\n  const struct cocos2d::CCPoint *v3; // r8\n  float v4; // [rsp+30h] [rbp+8h] BYREF\n  float v5; // [rsp+34h] [rbp+Ch]\n  char v6; // [rsp+38h] [rbp+10h] BYREF\n  char v7; // [rsp+40h] [rbp+18h] BYREF\n\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v4, *(float *)(a1 + 528), *(float *)(a1 + 532));\n  cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\n  v1 = (const struct cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, v4 - 1.0, v5);\n  v2 = (cocos2d *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, 1.0, v5);\n  cocos2d::ccDrawLine(v2, v1, v3);\n}", "assembly": "; \n; GameCell::draw from 0x1400404f0 to 0x14004057c (140 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140705760\n; > <???> @ 0x14090f3d4\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:25:29 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400404f0\nsub     rsp, 20h                                                       ; +0x2, 0x1400404f2\nmovss   xmm2, dword ptr [rcx+214h]                                     ; +0x6, 0x1400404f6\nmovss   xmm1, dword ptr [rcx+210h]                                     ; +0xe, 0x1400404fe\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x16, 0x140040506\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x1b, 0x14004050b\nmov     r9b, 4Bh ; 'K'                                                 ; +0x21, 0x140040511\nxor     r8d, r8d                                                       ; +0x24, 0x140040514\nxor     edx, edx                                                       ; +0x27, 0x140040517\nxor     ecx, ecx                                                       ; +0x29, 0x140040519\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x2b, 0x14004051b\nmovss   xmm0, cs:width; width                                          ; +0x31, 0x140040521\ncall    cs:glLineWidth                                                 ; +0x39, 0x140040529\nmovss   xmm1, [rsp+28h+arg_0]                                          ; +0x3f, 0x14004052f\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x45, 0x140040535\nsubss   xmm1, cs:flt_140835080                                         ; +0x4a, 0x14004053a\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0x52, 0x140040542\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x58, 0x140040548\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0x5e, 0x14004054e\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x64, 0x140040554\nmovss   xmm1, cs:flt_140835080                                         ; +0x69, 0x140040559\nmov     rbx, rax                                                       ; +0x71, 0x140040561\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x74, 0x140040564\nmov     rcx, rax                                                       ; +0x7a, 0x14004056a\nmov     rdx, rbx                                                       ; +0x7d, 0x14004056d\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x80, 0x140040570\nadd     rsp, 20h                                                       ; +0x86, 0x140040576\npop     rbx                                                            ; +0x8a, 0x14004057a\nretn                                                                   ; +0x8b, 0x14004057b", "xrefs": ["<???> @ 0x140705760", "<???> @ 0x14090f3d4"], "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"}