{"type": "func", "start": 7917040, "end": 7917160, "name": "EditorWindowPopup::touchIsOnField", "pseudocode": "// \n// EditorWindowPopup::touchIsOnField from 0x78cdf0 to 0x78ce68 (120 bytes)\n// \n// 1 xrefs:\n// > EditorWindowPopup::beginTouch @ 0x78cf2a\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::touchIsOnField(int a1, const cocos2d::CCPoint *a2, int a3, int a4)\n{\n  int v5; // r3\n  int result; // r0\n  int v7; // r3\n  int v8; // r4\n  int v9; // r6\n  int v10; // r2\n  _DWORD v11[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v11[0] = a2;\n  v11[1] = a3;\n  v11[2] = a4;\n  v5 = *(_DWORD *)(a1 + 576);\n  if ( v5 )\n  {\n    v7 = *(_DWORD *)(v5 + 52);\n    if ( v7 )\n      v8 = *(_DWORD *)(v7 + 272);\n    else\n      v8 = 0;\n    while ( v7 )\n    {\n      v9 = *(_DWORD *)(v7 + 260);\n      if ( (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 176))(v9) )\n      {\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2);\n        result = CCTextInputNode::containsTouchPoint(v9);\n        if ( result )\n          return result;\n      }\n      if ( v8 )\n        v10 = *(_DWORD *)(v8 + 272);\n      else\n        v10 = 0;\n      v7 = v8;\n      v8 = v10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EditorWindowPopup::touchIsOnField from 0x78cdf0 to 0x78ce68 (120 bytes)\n; \n; 1 xrefs:\n; > EditorWindowPopup::beginTouch @ 0x78cf2a\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.W          {R0-R8,LR}                                             ; +0x0, 0x78cdf0\nMOV             R8, R1                                                 ; +0x4, 0x78cdf4\nLDR             R2, =(__stack_chk_guard_ptr - 0x78CDFC)                ; +0x6, 0x78cdf6\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0x8, 0x78cdf8\nLDR             R2, [R2]; __stack_chk_guard                            ; +0xa, 0x78cdfa\nLDR             R3, [R2]                                               ; +0xc, 0x78cdfc\nMOV             R5, R2                                                 ; +0xe, 0x78cdfe\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x10, 0x78ce00\nLDR.W           R3, [R0,#0x240]                                        ; +0x12, 0x78ce02\nCBNZ            R3, loc_78CE0C                                         ; +0x16, 0x78ce06\nMOVS            R0, #0                                                 ; +0x18, 0x78ce08\nB               loc_78CE56                                             ; +0x1a, 0x78ce0a\nLDR             R3, [R3,#0x34]                                         ; +0x1c, 0x78ce0c\nCBZ             R3, loc_78CE16                                         ; +0x1e, 0x78ce0e\nLDR.W           R4, [R3,#0x110]                                        ; +0x20, 0x78ce10\nB               loc_78CE18                                             ; +0x24, 0x78ce14\nMOV             R4, R3                                                 ; +0x26, 0x78ce16\nADD             R7, SP, #0x10+var_C                                    ; +0x28, 0x78ce18\nCMP             R3, #0                                                 ; +0x2a, 0x78ce1a\nBEQ             loc_78CE08                                             ; +0x2c, 0x78ce1c\nLDR.W           R6, [R3,#0x104]                                        ; +0x2e, 0x78ce1e\nLDR             R3, [R6]                                               ; +0x32, 0x78ce22\nMOV             R0, R6                                                 ; +0x34, 0x78ce24\nLDR.W           R3, [R3,#0xB0]                                         ; +0x36, 0x78ce26\nBLX             R3                                                     ; +0x3a, 0x78ce2a\nCBZ             R0, loc_78CE46                                         ; +0x3c, 0x78ce2c\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x3e, 0x78ce2e\nMOV             R0, R7; this                                           ; +0x40, 0x78ce30\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x42, 0x78ce32\nMOV             R0, R6                                                 ; +0x46, 0x78ce36\nMOV             R1, R7                                                 ; +0x48, 0x78ce38\nBL              _ZN15CCTextInputNode18containsTouchPointEN7cocos2d7CCPointE; CCTextInputNode::containsTouchPoint(cocos2d::CCPoint) ; +0x4a, 0x78ce3a\nCBZ             R0, loc_78CE46                                         ; +0x4e, 0x78ce3e\nB               loc_78CE56                                             ; +0x50, 0x78ce40\nBL              __cxa_end_cleanup                                      ; +0x52, 0x78ce42\nCBZ             R4, loc_78CE4E                                         ; +0x56, 0x78ce46\nLDR.W           R2, [R4,#0x110]                                        ; +0x58, 0x78ce48\nB               loc_78CE50                                             ; +0x5c, 0x78ce4c\nMOV             R2, R4                                                 ; +0x5e, 0x78ce4e\nMOV             R3, R4                                                 ; +0x60, 0x78ce50\nMOV             R4, R2                                                 ; +0x62, 0x78ce52\nB               loc_78CE1A                                             ; +0x64, 0x78ce54\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x66, 0x78ce56\nLDR             R3, [R5]                                               ; +0x68, 0x78ce58\nCMP             R2, R3                                                 ; +0x6a, 0x78ce5a\nBEQ             loc_78CE62                                             ; +0x6c, 0x78ce5c\nBLX             __stack_chk_fail                                       ; +0x6e, 0x78ce5e\nADD             SP, SP, #0x10                                          ; +0x72, 0x78ce62\nPOP.W           {R4-R8,PC}                                             ; +0x74, 0x78ce64", "xrefs": ["EditorWindowPopup::beginTouch @ 0x78cf2a"], "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"}