{"type": "func", "start": 7913948, "end": 7914072, "name": "EditorWindowPopup::isInDragHandle", "pseudocode": "// \n// EditorWindowPopup::isInDragHandle from 0x78c1dc to 0x78c258 (124 bytes)\n// \n// 1 xrefs:\n// > EditorWindowPopup::beginTouch @ 0x78d06e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:37 +0000\n// \n\nint __fastcall EditorWindowPopup::isInDragHandle(float *a1, const cocos2d::CCPoint *a2)\n{\n  _BYTE v4[16]; // [sp+Ch] [bp-14h] BYREF\n\n  cocos2d::CCRect::CCRect(\n    (cocos2d::CCRect *)v4,\n    (float)(a1[186] - (float)((float)(a1[185] * a1[183]) * 0.5)) - 10.0,\n    (float)(a1[187] + (float)((float)(a1[185] * a1[184]) * 0.5)) - 10.0,\n    (float)(a1[185] * a1[183]) + 20.0,\n    20.0);\n  return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v4, a2);\n}", "assembly": "; \n; EditorWindowPopup::isInDragHandle from 0x78c1dc to 0x78c258 (124 bytes)\n; \n; 1 xrefs:\n; > EditorWindowPopup::beginTouch @ 0x78d06e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:37 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x78c1dc\nVMOV.F32        S10, #0.5                                              ; +0x2, 0x78c1de\nVLDR            S14, [R0,#0x2E4]                                       ; +0x6, 0x78c1e2\nSUB             SP, SP, #0x20; float                                   ; +0xa, 0x78c1e6\nLDR             R4, =(__stack_chk_guard_ptr - 0x78C1F6)                ; +0xc, 0x78c1e8\nADD             R5, SP, #0x20+var_14                                   ; +0xe, 0x78c1ea\nMOV             R6, R1                                                 ; +0x10, 0x78c1ec\nVLDR            S13, [R0,#0x2E0]                                       ; +0x12, 0x78c1ee\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x16, 0x78c1f2\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x18, 0x78c1f4\nLDR             R3, [R4]                                               ; +0x1a, 0x78c1f6\nVLDR            S15, [R0,#0x2DC]                                       ; +0x1c, 0x78c1f8\nSTR             R3, [SP,#0x20+var_4]                                   ; +0x20, 0x78c1fc\nVLDR            S12, [R0,#0x2E8]                                       ; +0x22, 0x78c1fe\nVMUL.F32        S15, S14, S15                                          ; +0x26, 0x78c202\nVMUL.F32        S14, S14, S13                                          ; +0x2a, 0x78c206\nVLDR            S13, [R0,#0x2EC]                                       ; +0x2e, 0x78c20a\nMOV             R0, R5; this                                           ; +0x32, 0x78c20e\nVMLS.F32        S12, S15, S10                                          ; +0x34, 0x78c210\nVMLA.F32        S13, S14, S10                                          ; +0x38, 0x78c214\nVMOV.F32        S11, #10.0                                             ; +0x3c, 0x78c218\nVMOV.F32        S14, #20.0                                             ; +0x40, 0x78c21c\nVSUB.F32        S12, S12, S11                                          ; +0x44, 0x78c220\nVSTR            S14, [SP,#0x20+var_20]                                 ; +0x48, 0x78c224\nVSUB.F32        S13, S13, S11                                          ; +0x4c, 0x78c228\nVMOV            R1, S12; float                                         ; +0x50, 0x78c22c\nVADD.F32        S15, S15, S14                                          ; +0x54, 0x78c230\nVMOV            R2, S13; float                                         ; +0x58, 0x78c234\nVMOV            R3, S15; float                                         ; +0x5c, 0x78c238\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x60, 0x78c23c\nMOV             R0, R5; this                                           ; +0x64, 0x78c240\nMOV             R1, R6; cocos2d::CCPoint *                             ; +0x66, 0x78c242\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x68, 0x78c244\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x6c, 0x78c248\nLDR             R3, [R4]                                               ; +0x6e, 0x78c24a\nCMP             R2, R3                                                 ; +0x70, 0x78c24c\nBEQ             loc_78C254                                             ; +0x72, 0x78c24e\nBLX             __stack_chk_fail                                       ; +0x74, 0x78c250\nADD             SP, SP, #0x20 ; ' '                                    ; +0x78, 0x78c254\nPOP             {R4-R6,PC}                                             ; +0x7a, 0x78c256", "xrefs": ["EditorWindowPopup::beginTouch @ 0x78d06e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}