{"type": "func", "start": 5368956720, "end": 5368956883, "name": "ListCell::draw", "pseudocode": "// \n// ListCell::draw from 0x14003c730 to 0x14003c7d3 (163 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14052a890\n// > <???> @ 0x1406c3e94\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 ListCell::draw(ListCell *a1)\n{\n  const struct cocos2d::CCPoint *v2; // rbx\n  cocos2d *v3; // rax\n  const struct cocos2d::CCPoint *v4; // r8\n  cocos2d::CCSize v5; // [rsp+30h] [rbp+8h] BYREF\n  cocos2d::CCPoint v6; // [rsp+38h] [rbp+10h] BYREF\n  cocos2d::CCPoint v7; // [rsp+40h] [rbp+18h] BYREF\n\n  cocos2d::CCSize::CCSize(&v5, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(\n    (cocos2d *)LOBYTE(a1->m_unk230),\n    BYTE1(a1->m_unk230),\n    BYTE2(a1->m_unk230),\n    HIBYTE(a1->m_unk230));\n  glLineWidth(2.0);\n  v2 = (const struct cocos2d::CCPoint *)cocos2d::CCPoint::CCPoint(&v6, v5.width - 1.0, v5.height);\n  v3 = (cocos2d *)cocos2d::CCPoint::CCPoint(&v7, 1.0, v5.height);\n  cocos2d::ccDrawLine(v3, v2, v4);\n}", "assembly": "; \n; ListCell::draw from 0x14003c730 to 0x14003c7d3 (163 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14052a890\n; > <???> @ 0x1406c3e94\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    rbx                                                            ; +0x0, 0x14003c730\nsub     rsp, 20h                                                       ; +0x2, 0x14003c732\nmovss   xmm2, dword ptr [rcx+214h]                                     ; +0x6, 0x14003c736\nmov     rbx, rcx                                                       ; +0xe, 0x14003c73e\nmovss   xmm1, dword ptr [rcx+210h]                                     ; +0x11, 0x14003c741\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x19, 0x14003c749\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x1e, 0x14003c74e\nmovzx   r9d, byte ptr [rbx+233h]                                       ; +0x24, 0x14003c754\nmovzx   r8d, byte ptr [rbx+232h]                                       ; +0x2c, 0x14003c75c\nmovzx   edx, byte ptr [rbx+231h]                                       ; +0x34, 0x14003c764\nmovzx   ecx, byte ptr [rbx+230h]                                       ; +0x3b, 0x14003c76b\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x42, 0x14003c772\nmovss   xmm0, cs:width; width                                          ; +0x48, 0x14003c778\ncall    cs:glLineWidth                                                 ; +0x50, 0x14003c780\nmovss   xmm1, [rsp+28h+arg_0]                                          ; +0x56, 0x14003c786\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x5c, 0x14003c78c\nsubss   xmm1, cs:flt_140622C24                                         ; +0x61, 0x14003c791\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0x69, 0x14003c799\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6f, 0x14003c79f\nmovss   xmm2, [rsp+28h+arg_4]                                          ; +0x75, 0x14003c7a5\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x7b, 0x14003c7ab\nmovss   xmm1, cs:flt_140622C24                                         ; +0x80, 0x14003c7b0\nmov     rbx, rax                                                       ; +0x88, 0x14003c7b8\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8b, 0x14003c7bb\nmov     rcx, rax                                                       ; +0x91, 0x14003c7c1\nmov     rdx, rbx                                                       ; +0x94, 0x14003c7c4\ncall    cs:?ccDrawLine@cocos2d@@YAXAEBVCCPoint@1@0@Z; cocos2d::ccDrawLine(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x97, 0x14003c7c7\nadd     rsp, 20h                                                       ; +0x9d, 0x14003c7cd\npop     rbx                                                            ; +0xa1, 0x14003c7d1\nretn                                                                   ; +0xa2, 0x14003c7d2", "xrefs": ["<???> @ 0x14052a890", "<???> @ 0x1406c3e94"], "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"}