{"type": "func", "start": 7847130, "end": 7847206, "name": "EditorSFXActionConfigLayer::ccTouchEnded", "pseudocode": "// \n// EditorSFXActionConfigLayer::ccTouchEnded from 0x77bcda to 0x77bd26 (76 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorSFXActionConfigLayer::ccTouchEnded @ 0x77bd2a\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:23 +0000\n// \n\nint __fastcall EditorSFXActionConfigLayer::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 + 728);\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 + 736) )\n  {\n    v6 = **(_DWORD **)(a1 + 732);\n    if ( v5 )\n      v7 = *(void (**)(void))(v6 + 460);\n    else\n      v7 = *(void (**)(void))(v6 + 456);\n    v7();\n    *(_BYTE *)(a1 + 736) = 0;\n  }\n  return FLAlertLayer::ccTouchEnded(a1, (int)a2);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::ccTouchEnded from 0x77bcda to 0x77bd26 (76 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorSFXActionConfigLayer::ccTouchEnded @ 0x77bd2a\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:23 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x77bcda\nMOV             R4, R0                                                 ; +0x2, 0x77bcdc\nLDR.W           R0, [R0,#0x2D8]; this                                  ; +0x4, 0x77bcde\nMOV             R6, R1                                                 ; +0x8, 0x77bce2\nMOV             R5, R2                                                 ; +0xa, 0x77bce4\nCBZ             R0, loc_77BCF2                                         ; +0xc, 0x77bce6\nLDRB.W          R7, [R0,#0x178]                                        ; +0xe, 0x77bce8\nBL              _ZN22ScrollableContentLayer16handleTouchEndedEPN7cocos2d7CCTouchE; ScrollableContentLayer::handleTouchEnded(cocos2d::CCTouch *) ; +0x12, 0x77bcec\nB               loc_77BCF4                                             ; +0x16, 0x77bcf0\nMOV             R7, R0                                                 ; +0x18, 0x77bcf2\nLDRB.W          R3, [R4,#0x2E0]                                        ; +0x1a, 0x77bcf4\nCBZ             R3, loc_77BD18                                         ; +0x1e, 0x77bcf8\nLDR.W           R0, [R4,#0x2DC]                                        ; +0x20, 0x77bcfa\nLDR             R3, [R0]                                               ; +0x24, 0x77bcfe\nCBZ             R7, loc_77BD08                                         ; +0x26, 0x77bd00\nLDR.W           R3, [R3,#0x1CC]                                        ; +0x28, 0x77bd02\nB               loc_77BD0C                                             ; +0x2c, 0x77bd06\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x2e, 0x77bd08\nMOV             R1, R6                                                 ; +0x32, 0x77bd0c\nMOV             R2, R5                                                 ; +0x34, 0x77bd0e\nBLX             R3                                                     ; +0x36, 0x77bd10\nMOVS            R3, #0                                                 ; +0x38, 0x77bd12\nSTRB.W          R3, [R4,#0x2E0]                                        ; +0x3a, 0x77bd14\nMOV             R0, R4                                                 ; +0x3e, 0x77bd18\nMOV             R1, R6                                                 ; +0x40, 0x77bd1a\nMOV             R2, R5                                                 ; +0x42, 0x77bd1c\nPOP.W           {R3-R7,LR}                                             ; +0x44, 0x77bd1e\nB.W             _ZN12FLAlertLayer12ccTouchEndedEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchEnded(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x48, 0x77bd22", "xrefs": ["`non-virtual thunk to'EditorSFXActionConfigLayer::ccTouchEnded @ 0x77bd2a"], "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"}