{"type": "func", "start": 7255548, "end": 7255618, "name": "ControlMenuTouch::began", "pseudocode": "// \n// ControlMenuTouch::began from 0x6eb5fc to 0x6eb642 (70 bytes)\n// \n// 3 xrefs:\n// > GJRotationControl::ccTouchBegan @ 0x6eb83e\n// > GJScaleControl::ccTouchBegan @ 0x6ebcc4\n// > GJTransformControl::ccTouchBegan @ 0x6ece80\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:57:31 +0000\n// \n\nint __fastcall ControlMenuTouch::began(_DWORD *a1, int a2, int a3)\n{\n  unsigned int v6; // r4\n  int result; // r0\n\n  v6 = 0;\n  a1[3] = 0;\n  while ( v6 < (a1[1] - *a1) >> 2 )\n  {\n    result = (*(int (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(*a1 + 4 * v6) + 448))(\n               *(_DWORD *)(*a1 + 4 * v6),\n               a2,\n               a3);\n    if ( result )\n    {\n      a1[3] = *(_DWORD *)(*a1 + 4 * v6);\n      return result;\n    }\n    ++v6;\n  }\n  return 0;\n}", "assembly": "; \n; ControlMenuTouch::began from 0x6eb5fc to 0x6eb642 (70 bytes)\n; \n; 3 xrefs:\n; > GJRotationControl::ccTouchBegan @ 0x6eb83e\n; > GJScaleControl::ccTouchBegan @ 0x6ebcc4\n; > GJTransformControl::ccTouchBegan @ 0x6ece80\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:57:31 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x6eb5fc\nMOV             R5, R0                                                 ; +0x4, 0x6eb600\nMOV             R6, R1                                                 ; +0x6, 0x6eb602\nMOV             R7, R2                                                 ; +0x8, 0x6eb604\nMOVS            R4, #0                                                 ; +0xa, 0x6eb606\nSTR             R4, [R0,#0xC]                                          ; +0xc, 0x6eb608\nLDM.W           R5, {R2,R3}                                            ; +0xe, 0x6eb60a\nSUBS            R3, R3, R2                                             ; +0x12, 0x6eb60e\nCMP.W           R4, R3,ASR#2                                           ; +0x14, 0x6eb610\nBCS             loc_6EB63C                                             ; +0x18, 0x6eb614\nLDR.W           R0, [R2,R4,LSL#2]                                      ; +0x1a, 0x6eb616\nMOV             R1, R6                                                 ; +0x1e, 0x6eb61a\nMOV             R2, R7                                                 ; +0x20, 0x6eb61c\nMOV.W           R8, R4,LSL#2                                           ; +0x22, 0x6eb61e\nLDR             R3, [R0]                                               ; +0x26, 0x6eb622\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x28, 0x6eb624\nBLX             R3                                                     ; +0x2c, 0x6eb628\nCBZ             R0, loc_6EB638                                         ; +0x2e, 0x6eb62a\nLDR             R3, [R5]                                               ; +0x30, 0x6eb62c\nLDR.W           R3, [R3,R8]                                            ; +0x32, 0x6eb62e\nSTR             R3, [R5,#0xC]                                          ; +0x36, 0x6eb632\nPOP.W           {R4-R8,PC}                                             ; +0x38, 0x6eb634\nADDS            R4, #1                                                 ; +0x3c, 0x6eb638\nB               loc_6EB60A                                             ; +0x3e, 0x6eb63a\nMOVS            R0, #0                                                 ; +0x40, 0x6eb63c\nPOP.W           {R4-R8,PC}                                             ; +0x42, 0x6eb63e", "xrefs": ["GJRotationControl::ccTouchBegan @ 0x6eb83e", "GJScaleControl::ccTouchBegan @ 0x6ebcc4", "GJTransformControl::ccTouchBegan @ 0x6ece80"], "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"}