{"type": "func", "start": 5369171728, "end": 5369171916, "name": "ScrollingLayer::draw", "pseudocode": "// \n// ScrollingLayer::draw from 0x140070f10 to 0x140070fcc (188 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140536198\n// > <???> @ 0x1406c6180\n// > <???> @ 0x1406c618c\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 ScrollingLayer::draw(ScrollingLayer *a1)\n{\n  cocos2d *v2; // rax\n  struct cocos2d::CCPoint v3; // r8\n  cocos2d::CCPoint v4; // [rsp+30h] [rbp+8h] BYREF\n  char v5; // [rsp+38h] [rbp+10h] BYREF\n  cocos2d::CCPoint v6; // [rsp+40h] [rbp+18h] BYREF\n  cocos2d::CCPoint v7; // [rsp+48h] [rbp+20h] BYREF\n\n  cocos2d::ccDrawColor4B(nullptr, 0x14u, 0x28u, 0xFFu);\n  glLineWidth(6.0);\n  cocos2d::CCPoint::CCPoint(\n    &v4,\n    a1->m_position.x - (float)(a1->m_size.width * 0.5),\n    a1->m_position.y - (float)(a1->m_size.height * 0.5));\n  cocos2d::CCPoint::CCPoint(&v6, a1->m_size.width, a1->m_size.height);\n  cocos2d::CCPoint::operator+(&v4, &v5);\n  v2 = (cocos2d *)cocos2d::CCPoint::CCPoint(&v7, &v4);\n  cocos2d::ccDrawRect(v2, (struct cocos2d::CCPoint)&v5, v3);\n}", "assembly": "; \n; ScrollingLayer::draw from 0x140070f10 to 0x140070fcc (188 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140536198\n; > <???> @ 0x1406c6180\n; > <???> @ 0x1406c618c\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, 0x140070f10\nsub     rsp, 20h                                                       ; +0x2, 0x140070f12\nmov     rbx, rcx                                                       ; +0x6, 0x140070f16\nmov     r9b, 0FFh                                                      ; +0x9, 0x140070f19\nxor     ecx, ecx                                                       ; +0xc, 0x140070f1c\nmov     r8b, 28h ; '('                                                 ; +0xe, 0x140070f1e\nmov     dl, 14h                                                        ; +0x11, 0x140070f21\ncall    cs:?ccDrawColor4B@cocos2d@@YAXEEEE@Z; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x13, 0x140070f23\nmovss   xmm0, cs:flt_140623028; width                                  ; +0x19, 0x140070f29\ncall    cs:glLineWidth                                                 ; +0x21, 0x140070f31\nmovss   xmm0, dword ptr [rbx+22Ch]                                     ; +0x27, 0x140070f37\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x2f, 0x140070f3f\nmulss   xmm0, cs:dword_140622B08                                       ; +0x34, 0x140070f44\nmovss   xmm2, dword ptr [rbx+224h]                                     ; +0x3c, 0x140070f4c\nmovss   xmm1, dword ptr [rbx+220h]                                     ; +0x44, 0x140070f54\nsubss   xmm2, xmm0                                                     ; +0x4c, 0x140070f5c\nmovss   xmm0, dword ptr [rbx+228h]                                     ; +0x50, 0x140070f60\nmulss   xmm0, cs:dword_140622B08                                       ; +0x58, 0x140070f68\nsubss   xmm1, xmm0                                                     ; +0x60, 0x140070f70\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x140070f74\nmovss   xmm2, dword ptr [rbx+22Ch]                                     ; +0x6a, 0x140070f7a\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x72, 0x140070f82\nmovss   xmm1, dword ptr [rbx+228h]                                     ; +0x77, 0x140070f87\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7f, 0x140070f8f\nmov     r8, rax                                                        ; +0x85, 0x140070f95\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x88, 0x140070f98\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x8d, 0x140070f9d\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x92, 0x140070fa2\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x98, 0x140070fa8\nlea     rcx, [rsp+28h+arg_18]                                          ; +0x9d, 0x140070fad\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xa2, 0x140070fb2\nmov     rcx, rax                                                       ; +0xa8, 0x140070fb8\nlea     rdx, [rsp+28h+arg_8]                                           ; +0xab, 0x140070fbb\ncall    cs:?ccDrawRect@cocos2d@@YAXVCCPoint@1@0@Z; cocos2d::ccDrawRect(cocos2d::CCPoint,cocos2d::CCPoint) ; +0xb0, 0x140070fc0\nadd     rsp, 20h                                                       ; +0xb6, 0x140070fc6\npop     rbx                                                            ; +0xba, 0x140070fca\nretn                                                                   ; +0xbb, 0x140070fcb", "xrefs": ["<???> @ 0x140536198", "<???> @ 0x1406c6180", "<???> @ 0x1406c618c"], "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"}