{"type": "func", "start": 5370074464, "end": 5370074689, "name": "LevelCell::draw", "pseudocode": "// \n// LevelCell::draw from 0x14014d560 to 0x14014d641 (225 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1407414b0\n// > <???> @ 0x14089a754\n// > <???> @ 0x14089a764\n// > <???> @ 0x140917660\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:27:16 +0000\n// \n\nvoid __fastcall LevelCell::draw(__int64 a1)\n{\n  const struct cocos2d::CCPoint *v1; // rax\n  const struct cocos2d::CCPoint *v2; // rbx\n  cocos2d *v3; // rax\n  const struct cocos2d::CCPoint *v4; // r8\n  const struct cocos2d::CCPoint *v5; // rax\n  const struct cocos2d::CCPoint *v6; // rbx\n  cocos2d *v7; // rax\n  const struct cocos2d::CCPoint *v8; // r8\n  float v9; // [rsp+40h] [rbp+8h] BYREF\n  float v10; // [rsp+44h] [rbp+Ch]\n  char v11; // [rsp+48h] [rbp+10h] BYREF\n  char v12; // [rsp+50h] [rbp+18h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 578) )\n  {\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v9, *(float *)(a1 + 528), *(float *)(a1 + 532));\n    cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu);\n    glLineWidth(2.0);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v9 - 1.0, v10);\n    v2 = v1;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 1.0, v10);\n    cocos2d::ccDrawLine(v3, v2, v4);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v9 - 1.0, 0.0);\n    v6 = v5;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 1.0, 0.0);\n    cocos2d::ccDrawLine(v7, v6, v8);\n  }\n}", "assembly": "; \n; LevelCell::draw from 0x14014d560 to 0x14014d641 (225 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1407414b0\n; > <???> @ 0x14089a754\n; > <???> @ 0x14089a764\n; > <???> @ 0x140917660\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:27:16 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x14014d560\ncmp     byte ptr [rcx+242h], 0                                         ; +0x4, 0x14014d564\njnz     loc_14014D63C                                                  ; +0xb, 0x14014d56b\nmovss   xmm2, dword ptr [rcx+214h]                                     ; +0x11, 0x14014d571\nmovss   xmm1, dword ptr [rcx+210h]                                     ; +0x19, 0x14014d579\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x21, 0x14014d581\nmov     [rsp+38h+var_8], rbx                                           ; +0x26, 0x14014d586\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x2b, 0x14014d58b\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x30, 0x14014d590\nmov     r9b, 4Bh ; 'K'                                                 ; +0x36, 0x14014d596\nxor     r8d, r8d                                                       ; +0x39, 0x14014d599\nxor     edx, edx                                                       ; +0x3c, 0x14014d59c\nxor     ecx, ecx                                                       ; +0x3e, 0x14014d59e\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x40, 0x14014d5a0\nmovss   xmm0, cs:width; width                                          ; +0x46, 0x14014d5a6\ncall    cs:glLineWidth                                                 ; +0x4e, 0x14014d5ae\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x54, 0x14014d5b4\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x5a, 0x14014d5ba\nmovss   xmm6, cs:flt_140835080                                         ; +0x5f, 0x14014d5bf\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x67, 0x14014d5c7\nsubss   xmm1, xmm6                                                     ; +0x6d, 0x14014d5cd\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x71, 0x14014d5d1\nmovss   xmm2, [rsp+38h+arg_4]                                          ; +0x77, 0x14014d5d7\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x7d, 0x14014d5dd\nmovaps  xmm1, xmm6                                                     ; +0x82, 0x14014d5e2\nmov     rbx, rax                                                       ; +0x85, 0x14014d5e5\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x88, 0x14014d5e8\nmov     rcx, rax                                                       ; +0x8e, 0x14014d5ee\nmov     rdx, rbx                                                       ; +0x91, 0x14014d5f1\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x94, 0x14014d5f4\nmovss   xmm1, [rsp+38h+arg_0]                                          ; +0x9a, 0x14014d5fa\nlea     rcx, [rsp+38h+arg_8]                                           ; +0xa0, 0x14014d600\nsubss   xmm1, xmm6                                                     ; +0xa5, 0x14014d605\nxorps   xmm2, xmm2                                                     ; +0xa9, 0x14014d609\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xac, 0x14014d60c\nxorps   xmm2, xmm2                                                     ; +0xb2, 0x14014d612\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xb5, 0x14014d615\nmovaps  xmm1, xmm6                                                     ; +0xba, 0x14014d61a\nmov     rbx, rax                                                       ; +0xbd, 0x14014d61d\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xc0, 0x14014d620\nmov     rcx, rax                                                       ; +0xc6, 0x14014d626\nmov     rdx, rbx                                                       ; +0xc9, 0x14014d629\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0xcc, 0x14014d62c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd2, 0x14014d632\nmov     rbx, [rsp+38h+var_8]                                           ; +0xd7, 0x14014d637\nadd     rsp, 38h                                                       ; +0xdc, 0x14014d63c\nretn                                                                   ; +0xe0, 0x14014d640", "xrefs": ["<???> @ 0x1407414b0", "<???> @ 0x14089a754", "<???> @ 0x14089a764", "<???> @ 0x140917660"], "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"}