{"type": "func", "start": 6332088, "end": 6332320, "name": "GJMessageCell::draw", "pseudocode": "// \n// GJMessageCell::draw from 0x609eb8 to 0x609fa0 (232 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x621d8\n// > <???> @ 0x1151308\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 GJMessageCell::draw(GJMessageCell *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; GJMessageCell::draw from 0x609eb8 to 0x609fa0 (232 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x621d8\n; > <???> @ 0x1151308\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, 0x609eb8\nMOV             X1, X0                                                 ; +0x4, 0x609ebc\nMOV             X29, SP                                                ; +0x8, 0x609ec0\nSTR             X21, [SP,#0x50+var_30]                                 ; +0xc, 0x609ec4\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x609ec8\nLDR             S1, [X1,#0x1FC]; float                                 ; +0x14, 0x609ecc\nADD             X0, X29, #0x50+var_20; this                            ; +0x18, 0x609ed0\nLDR             S0, [X1,#0x1F8]; float                                 ; +0x1c, 0x609ed4\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x609ed8\nSTR             D8, [SP,#0x50+var_28]                                  ; +0x24, 0x609edc\nFMOV            S8, #1.0                                               ; +0x28, 0x609ee0\nLDR             X1, [X21]                                              ; +0x2c, 0x609ee4\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x30, 0x609ee8\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x34, 0x609eec\nADD             X20, X29, #0x50+var_18                                 ; +0x38, 0x609ef0\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x3c, 0x609ef4\nADD             X19, X29, #0x50+var_10                                 ; +0x40, 0x609ef8\nMOV             W2, #0; unsigned __int8                                ; +0x44, 0x609efc\nMOV             W3, #0x4B ; 'K'; unsigned __int8                       ; +0x48, 0x609f00\nMOV             W1, #0; unsigned __int8                                ; +0x4c, 0x609f04\nMOV             W0, #0; this                                           ; +0x50, 0x609f08\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x54, 0x609f0c\nFMOV            S0, #2.0                                               ; +0x58, 0x609f10\nBL              .glLineWidth                                           ; +0x5c, 0x609f14\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x60, 0x609f18\nMOV             X0, X20; this                                          ; +0x64, 0x609f1c\nFMOV            S0, S8; float                                          ; +0x68, 0x609f20\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6c, 0x609f24\nLDR             S0, [X29,#0x50+var_20]                                 ; +0x70, 0x609f28\nMOV             X0, X19; this                                          ; +0x74, 0x609f2c\nLDR             S1, [X29,#0x50+var_1C]; float                          ; +0x78, 0x609f30\nFSUB            S0, S0, S8; float                                      ; +0x7c, 0x609f34\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x80, 0x609f38\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0x84, 0x609f3c\nMOV             X0, X20; this                                          ; +0x88, 0x609f40\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8c, 0x609f44\nFMOV            S1, WZR; float                                         ; +0x90, 0x609f48\nMOV             X0, X20; this                                          ; +0x94, 0x609f4c\nFMOV            S0, S8; float                                          ; +0x98, 0x609f50\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c, 0x609f54\nLDR             S0, [X29,#0x50+var_20]                                 ; +0xa0, 0x609f58\nMOV             X0, X19; this                                          ; +0xa4, 0x609f5c\nFMOV            S1, WZR; float                                         ; +0xa8, 0x609f60\nFSUB            S0, S0, S8; float                                      ; +0xac, 0x609f64\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb0, 0x609f68\nMOV             X0, X20; this                                          ; +0xb4, 0x609f6c\nMOV             X1, X19; cocos2d::CCPoint *                            ; +0xb8, 0x609f70\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0xbc, 0x609f74\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xc0, 0x609f78\nLDR             X0, [X21]                                              ; +0xc4, 0x609f7c\nCMP             X1, X0                                                 ; +0xc8, 0x609f80\nB.NE            loc_609F9C                                             ; +0xcc, 0x609f84\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xd0, 0x609f88\nLDR             X21, [SP,#0x50+var_30]                                 ; +0xd4, 0x609f8c\nLDR             D8, [SP,#0x50+var_28]                                  ; +0xd8, 0x609f90\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xdc, 0x609f94\nRET                                                                    ; +0xe0, 0x609f98\nBL              .__stack_chk_fail                                      ; +0xe4, 0x609f9c", "xrefs": ["<???> @ 0x621d8", "<???> @ 0x1151308"], "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"}