{"type": "func", "start": 6330000, "end": 6330232, "name": "CustomSongCell::draw", "pseudocode": "// \n// CustomSongCell::draw from 0x609690 to 0x609778 (232 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x40950\n// > <???> @ 0x114d518\n// > <???> @ 0x114e088\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 CustomSongCell::draw(CustomSongCell *a1)\n{\n  cocos2d::CCSize v1; // [xsp+30h] [xbp+30h] BYREF\n  cocos2d::CCPoint v2; // [xsp+38h] [xbp+38h] BYREF\n  cocos2d::CCPoint v3; // [xsp+40h] [xbp+40h] BYREF\n\n  cocos2d::CCSize::CCSize(&v1, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth();\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, v1.height);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, v1.height);\n  cocos2d::ccDrawLine(&v2, &v3);\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, 0.0);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, 0.0);\n  cocos2d::ccDrawLine(&v2, &v3);\n}", "assembly": "; \n; CustomSongCell::draw from 0x609690 to 0x609778 (232 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x40950\n; > <???> @ 0x114d518\n; > <???> @ 0x114e088\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\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x609690\nMOV             X1, X0                                                 ; +0x4, 0x609694\nMOV             X29, SP                                                ; +0x8, 0x609698\nSTR             X21, [SP,#0x50+var_30]                                 ; +0xc, 0x60969c\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x6096a0\nLDR             S1, [X1,#0x1FC]; float                                 ; +0x14, 0x6096a4\nADD             X0, X29, #0x50+var_20; this                            ; +0x18, 0x6096a8\nLDR             S0, [X1,#0x1F8]; float                                 ; +0x1c, 0x6096ac\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x6096b0\nSTR             D8, [SP,#0x50+var_28]                                  ; +0x24, 0x6096b4\nFMOV            S8, #1.0                                               ; +0x28, 0x6096b8\nLDR             X1, [X21]                                              ; +0x2c, 0x6096bc\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x30, 0x6096c0\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x34, 0x6096c4\nADD             X20, X29, #0x50+var_18                                 ; +0x38, 0x6096c8\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x3c, 0x6096cc\nADD             X19, X29, #0x50+var_10                                 ; +0x40, 0x6096d0\nMOV             W2, #0; unsigned __int8                                ; +0x44, 0x6096d4\nMOV             W3, #0x4B ; 'K'; unsigned __int8                       ; +0x48, 0x6096d8\nMOV             W1, #0; unsigned __int8                                ; +0x4c, 0x6096dc\nMOV             W0, #0; this                                           ; +0x50, 0x6096e0\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x54, 0x6096e4\nFMOV            S0, #2.0                                               ; +0x58, 0x6096e8\nBL              .glLineWidth                                           ; +0x5c, 0x6096ec\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x60, 0x6096f0\nMOV             X0, X20; this                                          ; +0x64, 0x6096f4\nFMOV            S0, S8; float                                          ; +0x68, 0x6096f8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6c, 0x6096fc\nLDR             S0, [X29,#0x50+var_20]                                 ; +0x70, 0x609700\nMOV             X0, X19; this                                          ; +0x74, 0x609704\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x78, 0x609708\nFSUB            S0, S0, S8; float                                      ; +0x7c, 0x60970c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x80, 0x609710\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0x84, 0x609714\nMOV             X0, X20; this                                          ; +0x88, 0x609718\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8c, 0x60971c\nFMOV            S1, WZR; float                                         ; +0x90, 0x609720\nMOV             X0, X20; this                                          ; +0x94, 0x609724\nFMOV            S0, S8; float                                          ; +0x98, 0x609728\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c, 0x60972c\nLDR             S0, [X29,#0x50+var_20]                                 ; +0xa0, 0x609730\nMOV             X0, X19; this                                          ; +0xa4, 0x609734\nFMOV            S1, WZR; float                                         ; +0xa8, 0x609738\nFSUB            S0, S0, S8; float                                      ; +0xac, 0x60973c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x609740\nMOV             X0, X20; this                                          ; +0xb4, 0x609744\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0xb8, 0x609748\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0xbc, 0x60974c\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xc0, 0x609750\nLDR             X0, [X21]                                              ; +0xc4, 0x609754\nCMP             X1, X0                                                 ; +0xc8, 0x609758\nB.NE            loc_609774                                             ; +0xcc, 0x60975c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xd0, 0x609760\nLDR             X21, [SP,#0x50+var_30]                                 ; +0xd4, 0x609764\nLDR             D8, [SP,#0x50+var_28]                                  ; +0xd8, 0x609768\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xdc, 0x60976c\nRET                                                                    ; +0xe0, 0x609770\nBL              .__stack_chk_fail                                      ; +0xe4, 0x609774", "xrefs": ["<???> @ 0x40950", "<???> @ 0x114d518", "<???> @ 0x114e088"], "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"}