{"type": "func", "start": 3336908, "end": 3337070, "name": "GJMessageCell::draw", "pseudocode": "// \n// GJMessageCell::draw from 0x32eacc to 0x32eb6e (162 bytes)\n// \n// 0 xrefs:\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; // [sp+4h] [bp-1Ch] BYREF\n  cocos2d::CCPoint v2; // [sp+Ch] [bp-14h] BYREF\n  cocos2d::CCPoint v3; // [sp+14h] [bp-Ch] BYREF\n\n  cocos2d::CCSize::CCSize(&v1, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\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 0x32eacc to 0x32eb6e (162 bytes)\n; \n; 0 xrefs:\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            {R4-R6,LR}                                             ; +0x0, 0x32eacc\nMOV             R3, R0                                                 ; +0x2, 0x32eace\nLDR             R5, =(__stack_chk_guard_ptr - 0x32EADA)                ; +0x4, 0x32ead0\nVPUSH           {D8}                                                   ; +0x6, 0x32ead2\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x32ead6\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x32ead8\nLDR.W           R1, [R3,#0x188]; float                                 ; +0xe, 0x32eada\nLDR             R2, [R5]                                               ; +0x12, 0x32eade\nVMOV.F32        S16, #1.0                                              ; +0x14, 0x32eae0\nSUB             SP, SP, #0x20; unsigned __int8                         ; +0x18, 0x32eae4\nADD             R0, SP, #0x20+var_1C; this                             ; +0x1a, 0x32eae6\nADD             R6, SP, #0x20+var_14                                   ; +0x1c, 0x32eae8\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x1e, 0x32eaea\nADD             R4, SP, #0x20+var_C                                    ; +0x20, 0x32eaec\nLDR.W           R2, [R3,#0x18C]; float                                 ; +0x22, 0x32eaee\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x26, 0x32eaf2\nMOVS            R0, #0; this                                           ; +0x2a, 0x32eaf6\nMOVS            R3, #0x4B ; 'K'; unsigned __int8                       ; +0x2c, 0x32eaf8\nMOV             R1, R0; unsigned __int8                                ; +0x2e, 0x32eafa\nMOV             R2, R0; unsigned __int8                                ; +0x30, 0x32eafc\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x32, 0x32eafe\nMOV.W           R0, #0x40000000; width                                 ; +0x36, 0x32eb02\nBLX             glLineWidth                                            ; +0x3a, 0x32eb06\nMOV.W           R1, #0x3F800000; float                                 ; +0x3e, 0x32eb0a\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x42, 0x32eb0e\nMOV             R0, R6; this                                           ; +0x44, 0x32eb10\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x32eb12\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x4a, 0x32eb16\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x4e, 0x32eb1a\nMOV             R0, R4; this                                           ; +0x50, 0x32eb1c\nVSUB.F32        S15, S15, S16                                          ; +0x52, 0x32eb1e\nVMOV            R1, S15; float                                         ; +0x56, 0x32eb22\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a, 0x32eb26\nMOV             R0, R6; this                                           ; +0x5e, 0x32eb2a\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x60, 0x32eb2c\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x62, 0x32eb2e\nVMOV            R1, S16; float                                         ; +0x66, 0x32eb32\nMOVS            R2, #0; float                                          ; +0x6a, 0x32eb36\nMOV             R0, R6; this                                           ; +0x6c, 0x32eb38\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x32eb3a\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x72, 0x32eb3e\nMOVS            R2, #0; float                                          ; +0x76, 0x32eb42\nMOV             R0, R4; this                                           ; +0x78, 0x32eb44\nVSUB.F32        S15, S15, S16                                          ; +0x7a, 0x32eb46\nVMOV            R1, S15; float                                         ; +0x7e, 0x32eb4a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x32eb4e\nMOV             R0, R6; this                                           ; +0x86, 0x32eb52\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x88, 0x32eb54\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8a, 0x32eb56\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x8e, 0x32eb5a\nLDR             R3, [R5]                                               ; +0x90, 0x32eb5c\nCMP             R2, R3                                                 ; +0x92, 0x32eb5e\nBEQ             loc_32EB66                                             ; +0x94, 0x32eb60\nBLX             __stack_chk_fail                                       ; +0x96, 0x32eb62\nADD             SP, SP, #0x20 ; ' '                                    ; +0x9a, 0x32eb66\nVPOP            {D8}                                                   ; +0x9c, 0x32eb68\nPOP             {R4-R6,PC}                                             ; +0xa0, 0x32eb6c", "xrefs": [], "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"}