{"type": "func", "start": 3653532, "end": 3653616, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x37bf9c to 0x37bff0 (84 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 EditorUI::draw(EditorUI *a1)\n{\n  cocos2d::CCPoint v2; // r0\n  cocos2d::CCPoint v3; // r2\n  cocos2d::CCPoint v4; // [sp+4h] [bp+0h] BYREF\n  cocos2d::CCPoint v5; // [sp+Ch] [bp+8h] BYREF\n\n  if ( a1->m_swipeActive )\n  {\n    cocos2d::ccDrawColor4B(0, 0xFFu, 0, 0xFFu);\n    cocos2d::CCPoint::CCPoint(&v4, &a1->m_swipeStart);\n    cocos2d::CCPoint::CCPoint(&v5, &a1->m_swipeEnd);\n    LODWORD(v2.x) = &v4;\n    LODWORD(v2.y) = &v5;\n    cocos2d::ccDrawRect(v2, v3);\n  }\n}", "assembly": "; \n; EditorUI::draw from 0x37bf9c to 0x37bff0 (84 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\nLDR             R3, =(__stack_chk_guard_ptr - 0x37BFA4)                ; +0x0, 0x37bf9c\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x37bf9e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x37bfa0\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x37bfa2\nSUB             SP, SP, #0x1C; unsigned __int8                         ; +0x8, 0x37bfa4\nMOV             R5, R0                                                 ; +0xa, 0x37bfa6\nLDR             R2, [R3]                                               ; +0xc, 0x37bfa8\nMOV             R4, R3                                                 ; +0xe, 0x37bfaa\nSTR             R2, [SP,#0x1C+var_8]                                   ; +0x10, 0x37bfac\nLDRB.W          R2, [R0,#0x241]                                        ; +0x12, 0x37bfae\nCBZ             R2, loc_37BFE0                                         ; +0x16, 0x37bfb2\nMOVS            R0, #0; this                                           ; +0x18, 0x37bfb4\nMOVS            R1, #0xFF; unsigned __int8                             ; +0x1a, 0x37bfb6\nADD             R7, SP, #4                                             ; +0x1c, 0x37bfb8\nMOV             R2, R0; unsigned __int8                                ; +0x1e, 0x37bfba\nMOV             R3, R1; unsigned __int8                                ; +0x20, 0x37bfbc\nADD             R6, SP, #0x1C+var_10                                   ; +0x22, 0x37bfbe\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x24, 0x37bfc0\nADD.W           R1, R5, #0x344; cocos2d::CCPoint *                     ; +0x28, 0x37bfc4\nMOV             R0, R7; this                                           ; +0x2c, 0x37bfc8\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2e, 0x37bfca\nADD.W           R1, R5, #0x34C; cocos2d::CCPoint *                     ; +0x32, 0x37bfce\nMOV             R0, R6; this                                           ; +0x36, 0x37bfd2\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x38, 0x37bfd4\nMOV             R0, R7                                                 ; +0x3c, 0x37bfd8\nMOV             R1, R6                                                 ; +0x3e, 0x37bfda\nBL              _ZN7cocos2d10ccDrawRectENS_7CCPointES0_; cocos2d::ccDrawRect(cocos2d::CCPoint,cocos2d::CCPoint) ; +0x40, 0x37bfdc\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x44, 0x37bfe0\nLDR             R3, [R4]                                               ; +0x46, 0x37bfe2\nCMP             R2, R3                                                 ; +0x48, 0x37bfe4\nBEQ             loc_37BFEC                                             ; +0x4a, 0x37bfe6\nBLX             __stack_chk_fail                                       ; +0x4c, 0x37bfe8\nADD             SP, SP, #0x1C                                          ; +0x50, 0x37bfec\nPOP             {R4-R7,PC}                                             ; +0x52, 0x37bfee", "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"}