{"type": "func", "start": 4300054584, "end": 4300054664, "name": "EditorWindowPopup::touchRect", "pseudocode": "// \n// EditorWindowPopup::touchRect from 0x1004da038 to 0x1004da088 (80 bytes)\n// \n// 2 xrefs:\n// > EditorWindowPopup::ccTouchBegan @ 0x1004da0d4\n// > sub_1004DA128 @ 0x1004da1c4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:06:33 +0000\n// \n\nfloat *__usercall EditorWindowPopup::touchRect@<X0>(float *a1@<X0>, float *a2@<X8>)\n{\n  float v2; // s1\n\n  v2 = a1[266];\n  return sub_1000262CC(\n           a2,\n           (float)(a1[267] - (float)((float)(a1[264] * v2) * 0.5)) + -10.0,\n           (float)(a1[268] - (float)((float)(v2 * a1[265]) * 0.5)) + -10.0,\n           (float)(a1[264] * v2) + 20.0,\n           (float)(v2 * a1[265]) + 20.0);\n}", "assembly": "; \n; EditorWindowPopup::touchRect from 0x1004da038 to 0x1004da088 (80 bytes)\n; \n; 2 xrefs:\n; > EditorWindowPopup::ccTouchBegan @ 0x1004da0d4\n; > sub_1004DA128 @ 0x1004da1c4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:06:33 +0000\n; \nLDR             S0, [X0,#0x420]                                        ; +0x0, 0x1004da038\nLDR             S1, [X0,#0x428]                                        ; +0x4, 0x1004da03c\nFMUL            S2, S0, S1                                             ; +0x8, 0x1004da040\nLDR             S0, [X0,#0x424]                                        ; +0xc, 0x1004da044\nFMUL            S3, S1, S0                                             ; +0x10, 0x1004da048\nLDR             S0, [X0,#0x42C]                                        ; +0x14, 0x1004da04c\nFMOV            S1, #0.5                                               ; +0x18, 0x1004da050\nFMUL            S4, S2, S1                                             ; +0x1c, 0x1004da054\nFSUB            S0, S0, S4                                             ; +0x20, 0x1004da058\nFMOV            S4, #-10.0                                             ; +0x24, 0x1004da05c\nFADD            S0, S0, S4                                             ; +0x28, 0x1004da060\nLDR             S5, [X0,#0x430]                                        ; +0x2c, 0x1004da064\nFMUL            S1, S3, S1                                             ; +0x30, 0x1004da068\nFSUB            S1, S5, S1                                             ; +0x34, 0x1004da06c\nFADD            S1, S1, S4                                             ; +0x38, 0x1004da070\nFMOV            S4, #20.0                                              ; +0x3c, 0x1004da074\nFADD            S2, S2, S4                                             ; +0x40, 0x1004da078\nFADD            S3, S3, S4                                             ; +0x44, 0x1004da07c\nMOV             X0, X8                                                 ; +0x48, 0x1004da080\nB               sub_1000262CC                                          ; +0x4c, 0x1004da084", "xrefs": ["EditorWindowPopup::ccTouchBegan @ 0x1004da0d4", "sub_1004DA128 @ 0x1004da1c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}