{"type": "func", "start": 4299128884, "end": 4299128988, "name": "EditorUI::draw", "pseudocode": "// \n// EditorUI::draw from 0x1003f8034 to 0x1003f809c (104 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100813e20\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 EditorUI::draw(EditorUI *a1)\n{\n  __int64 v1; // x29\n  __int64 v2; // x30\n  __int64 v4; // [xsp+0h] [xbp-30h] BYREF\n  __int64 v5[5]; // [xsp+8h] [xbp-28h] BYREF\n  cocos2d::CCPoint v6; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint v7; // 0:s2.4,4:s3.4\n\n  if ( a1->m_swipeActive )\n  {\n    v5[3] = v1;\n    v5[4] = v2;\n    cocos2d::ccDrawColor4B(0, 0xFFu, 0, 0xFFu);\n    sub_1000229B8(v5, (__int64 *)&a1->m_swipeStart);\n    v6.x = sub_1000229B8(&v4, (__int64 *)&a1->m_swipeEnd);\n    cocos2d::ccDrawRect(v6, v7);\n  }\n}", "assembly": "; \n; EditorUI::draw from 0x1003f8034 to 0x1003f809c (104 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100813e20\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\nLDRB            W8, [X0,#0x305]                                        ; +0x0, 0x1003f8034\nCMP             W8, #1                                                 ; +0x4, 0x1003f8038\nB.NE            locret_1003F8098                                       ; +0x8, 0x1003f803c\nSUB             SP, SP, #0x30 ; '0'                                    ; +0xc, 0x1003f8040\nSTP             X20, X19, [SP,#0x30+var_20]                            ; +0x10, 0x1003f8044\nSTP             X29, X30, [SP,#0x30+var_10]                            ; +0x14, 0x1003f8048\nADD             X29, SP, #0x30+var_10                                  ; +0x18, 0x1003f804c\nMOV             X19, X0                                                ; +0x1c, 0x1003f8050\nMOV             W0, #0                                                 ; +0x20, 0x1003f8054\nMOV             W1, #0xFF                                              ; +0x24, 0x1003f8058\nMOV             W2, #0                                                 ; +0x28, 0x1003f805c\nMOV             W3, #0xFF                                              ; +0x2c, 0x1003f8060\nBL              cocos2d__ccDrawColor4B                                 ; +0x30, 0x1003f8064\nADD             X0, SP, #0x30+var_28                                   ; +0x34, 0x1003f8068\nADD             X1, X19, #0x4F0                                        ; +0x38, 0x1003f806c\nBL              sub_1000229B8                                          ; +0x3c, 0x1003f8070\nMOV             X0, SP                                                 ; +0x40, 0x1003f8074\nADD             X1, X19, #0x4F8                                        ; +0x44, 0x1003f8078\nBL              sub_1000229B8                                          ; +0x48, 0x1003f807c\nADD             X0, SP, #0x30+var_28                                   ; +0x4c, 0x1003f8080\nMOV             X1, SP                                                 ; +0x50, 0x1003f8084\nBL              cocos2d__ccDrawRect                                    ; +0x54, 0x1003f8088\nLDP             X29, X30, [SP,#0x30+var_10]                            ; +0x58, 0x1003f808c\nLDP             X20, X19, [SP,#0x30+var_20]                            ; +0x5c, 0x1003f8090\nADD             SP, SP, #0x30 ; '0'                                    ; +0x60, 0x1003f8094\nRET                                                                    ; +0x64, 0x1003f8098", "xrefs": ["<???> @ 0x100813e20"], "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"}