{"type": "func", "start": 4297408512, "end": 4297408706, "name": "CustomSongCell::draw", "pseudocode": "// \n// CustomSongCell::draw from 0x100254000 to 0x1002540c2 (194 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1008e4cf8\n// > <???> @ 0x1008e5860\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 __fastcall CustomSongCell::draw(CustomSongCell *a1)\n{\n  cocos2d::CCPoint v1; // [rsp+8h] [rbp-28h] BYREF\n  cocos2d::CCPoint v2; // [rsp+10h] [rbp-20h] BYREF\n  float v3; // [rsp+18h] [rbp-18h] BYREF\n  float v4; // [rsp+1Ch] [rbp-14h]\n\n  sub_10028CBF0(&v3, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\n  sub_10028CBE0(&v1, 1.0, v4);\n  sub_10028CBE0(&v2, v3 + -1.0, v4);\n  cocos2d::ccDrawLine(&v1, &v2);\n  sub_10028CBE0(&v1, 1.0, 0.0);\n  sub_10028CBE0(&v2, v3 + -1.0, 0.0);\n  cocos2d::ccDrawLine(&v1, &v2);\n}", "assembly": "; \n; CustomSongCell::draw from 0x100254000 to 0x1002540c2 (194 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1008e4cf8\n; > <???> @ 0x1008e5860\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    rbp                                                            ; +0x0, 0x100254000\nmov     rbp, rsp                                                       ; +0x1, 0x100254001\npush    r14                                                            ; +0x4, 0x100254004\npush    rbx                                                            ; +0x6, 0x100254006\nsub     rsp, 20h                                                       ; +0x7, 0x100254007\nmovss   xmm0, dword ptr [rdi+208h]                                     ; +0xb, 0x10025400b\nmovss   xmm1, dword ptr [rdi+20Ch]                                     ; +0x13, 0x100254013\nlea     rdi, [rbp+var_18]                                              ; +0x1b, 0x10025401b\ncall    sub_10028CBF0                                                  ; +0x1f, 0x10025401f\nxor     edi, edi                                                       ; +0x24, 0x100254024\nxor     esi, esi                                                       ; +0x26, 0x100254026\nxor     edx, edx                                                       ; +0x28, 0x100254028\nmov     ecx, 4Bh ; 'K'                                                 ; +0x2a, 0x10025402a\ncall    cocos2d__ccDrawColor4B                                         ; +0x2f, 0x10025402f\nmovss   xmm0, cs:width; width                                          ; +0x34, 0x100254034\ncall    _glLineWidth                                                   ; +0x3c, 0x10025403c\nmovss   xmm1, [rbp+var_14]                                             ; +0x41, 0x100254041\nlea     rbx, [rbp+var_28]                                              ; +0x46, 0x100254046\nmovss   xmm0, cs:alpha                                                 ; +0x4a, 0x10025404a\nmov     rdi, rbx                                                       ; +0x52, 0x100254052\ncall    sub_10028CBE0                                                  ; +0x55, 0x100254055\nmovss   xmm0, [rbp+var_18]                                             ; +0x5a, 0x10025405a\naddss   xmm0, cs:dword_100815094                                       ; +0x5f, 0x10025405f\nmovss   xmm1, [rbp+var_14]                                             ; +0x67, 0x100254067\nlea     r14, [rbp+var_20]                                              ; +0x6c, 0x10025406c\nmov     rdi, r14                                                       ; +0x70, 0x100254070\ncall    sub_10028CBE0                                                  ; +0x73, 0x100254073\nmov     rdi, rbx                                                       ; +0x78, 0x100254078\nmov     rsi, r14                                                       ; +0x7b, 0x10025407b\ncall    cocos2d__ccDrawLine                                            ; +0x7e, 0x10025407e\nxorps   xmm1, xmm1                                                     ; +0x83, 0x100254083\nmov     rdi, rbx                                                       ; +0x86, 0x100254086\nmovss   xmm0, cs:alpha                                                 ; +0x89, 0x100254089\ncall    sub_10028CBE0                                                  ; +0x91, 0x100254091\nmovss   xmm0, cs:dword_100815094                                       ; +0x96, 0x100254096\naddss   xmm0, [rbp+var_18]                                             ; +0x9e, 0x10025409e\nxorps   xmm1, xmm1                                                     ; +0xa3, 0x1002540a3\nmov     rdi, r14                                                       ; +0xa6, 0x1002540a6\ncall    sub_10028CBE0                                                  ; +0xa9, 0x1002540a9\nmov     rdi, rbx                                                       ; +0xae, 0x1002540ae\nmov     rsi, r14                                                       ; +0xb1, 0x1002540b1\ncall    cocos2d__ccDrawLine                                            ; +0xb4, 0x1002540b4\nadd     rsp, 20h                                                       ; +0xb9, 0x1002540b9\npop     rbx                                                            ; +0xbd, 0x1002540bd\npop     r14                                                            ; +0xbe, 0x1002540be\npop     rbp                                                            ; +0xc0, 0x1002540c0\nretn                                                                   ; +0xc1, 0x1002540c1", "xrefs": ["<???> @ 0x1008e4cf8", "<???> @ 0x1008e5860"], "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"}