{"type": "func", "start": 7905538, "end": 7905614, "name": "EditorSoundsLayer::ccTouchEnded", "pseudocode": "// \n// EditorSoundsLayer::ccTouchEnded from 0x78a102 to 0x78a14e (76 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0x78a152\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:35 +0000\n// \n\nint __fastcall EditorSoundsLayer::ccTouchEnded(int a1, cocos2d::CCTouch *a2)\n{\n  clock_t v3; // r0\n  int v5; // r7\n  int v6; // r3\n  void (*v7)(void); // r3\n\n  v3 = *(_DWORD *)(a1 + 784);\n  if ( v3 )\n  {\n    v5 = *(unsigned __int8 *)(v3 + 376);\n    ScrollableContentLayer::handleTouchEnded(v3, a2);\n  }\n  else\n  {\n    v5 = 0;\n  }\n  if ( *(_BYTE *)(a1 + 792) )\n  {\n    v6 = **(_DWORD **)(a1 + 788);\n    if ( v5 )\n      v7 = *(void (**)(void))(v6 + 460);\n    else\n      v7 = *(void (**)(void))(v6 + 456);\n    v7();\n    *(_BYTE *)(a1 + 792) = 0;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, (int)a2);\n}", "assembly": "; \n; EditorSoundsLayer::ccTouchEnded from 0x78a102 to 0x78a14e (76 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0x78a152\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:35 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x78a102\nMOV             R4, R0                                                 ; +0x2, 0x78a104\nLDR.W           R0, [R0,#0x310]; this                                  ; +0x4, 0x78a106\nMOV             R6, R1                                                 ; +0x8, 0x78a10a\nMOV             R5, R2                                                 ; +0xa, 0x78a10c\nCBZ             R0, loc_78A11A                                         ; +0xc, 0x78a10e\nLDRB.W          R7, [R0,#0x178]                                        ; +0xe, 0x78a110\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x12, 0x78a114\nB               loc_78A11C                                             ; +0x16, 0x78a118\nMOV             R7, R0                                                 ; +0x18, 0x78a11a\nLDRB.W          R3, [R4,#0x318]                                        ; +0x1a, 0x78a11c\nCBZ             R3, loc_78A140                                         ; +0x1e, 0x78a120\nLDR.W           R0, [R4,#0x314]                                        ; +0x20, 0x78a122\nLDR             R3, [R0]                                               ; +0x24, 0x78a126\nCBZ             R7, loc_78A130                                         ; +0x26, 0x78a128\nLDR.W           R3, [R3,#0x1CC]                                        ; +0x28, 0x78a12a\nB               loc_78A134                                             ; +0x2c, 0x78a12e\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x2e, 0x78a130\nMOV             R1, R6                                                 ; +0x32, 0x78a134\nMOV             R2, R5                                                 ; +0x34, 0x78a136\nBLX             R3                                                     ; +0x36, 0x78a138\nMOVS            R3, #0                                                 ; +0x38, 0x78a13a\nSTRB.W          R3, [R4,#0x318]                                        ; +0x3a, 0x78a13c\nMOV             R0, R4                                                 ; +0x3e, 0x78a140\nMOV             R1, R6                                                 ; +0x40, 0x78a142\nMOV             R2, R5                                                 ; +0x42, 0x78a144\nPOP.W           {R3-R7,LR}                                             ; +0x44, 0x78a146\nB.W             _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x48, 0x78a14a", "xrefs": ["`non-virtual thunk to'EditorSoundsLayer::ccTouchEnded @ 0x78a152"], "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"}