{"type": "func", "start": 4300221668, "end": 4300221820, "name": "LevelBadgePopup::ccTouchBegan", "pseudocode": "// \n// LevelBadgePopup::ccTouchBegan from 0x100502ce4 to 0x100502d7c (152 bytes)\n// \n// 2 xrefs:\n// > sub_100502D7C @ 0x100502d80\n// > <???> @ 0x100996800\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:06:54 +0000\n// \n\n__int64 __fastcall LevelBadgePopup::ccTouchBegan(float *a1, float32x2_t *a2, __int64 a3)\n{\n  __int64 v6; // x20\n  float v8; // [xsp+8h] [xbp-28h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2, &v8);\n  if ( sub_1000265E4(a1 + 170, &v8) )\n    return FLAlertLayer::ccTouchBegan((__int64)a1, (__int64)a2, a3);\n  (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  v6 = 1;\n  (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n  return v6;\n}", "assembly": "; \n; LevelBadgePopup::ccTouchBegan from 0x100502ce4 to 0x100502d7c (152 bytes)\n; \n; 2 xrefs:\n; > sub_100502D7C @ 0x100502d80\n; > <???> @ 0x100996800\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:06:54 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100502ce4\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100502ce8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100502cec\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100502cf0\nADD             X29, SP, #0x30                                         ; +0x10, 0x100502cf4\nMOV             X20, X2                                                ; +0x14, 0x100502cf8\nMOV             X21, X1                                                ; +0x18, 0x100502cfc\nMOV             X19, X0                                                ; +0x1c, 0x100502d00\nADD             X8, SP, #0x30+var_28                                   ; +0x20, 0x100502d04\nMOV             X0, X1                                                 ; +0x24, 0x100502d08\nBL              cocos2d__CCTouch__getLocation                          ; +0x28, 0x100502d0c\nADD             X0, X19, #0x2A8                                        ; +0x2c, 0x100502d10\nADD             X1, SP, #0x30+var_28                                   ; +0x30, 0x100502d14\nBL              sub_1000265E4                                          ; +0x34, 0x100502d18\nTBZ             W0, #0, loc_100502D38                                  ; +0x38, 0x100502d1c\nMOV             X0, X19                                                ; +0x3c, 0x100502d20\nMOV             X1, X21                                                ; +0x40, 0x100502d24\nMOV             X2, X20                                                ; +0x44, 0x100502d28\nBL              FLAlertLayer__ccTouchBegan                             ; +0x48, 0x100502d2c\nMOV             X20, X0                                                ; +0x4c, 0x100502d30\nB               loc_100502D64                                          ; +0x50, 0x100502d34\nLDR             X8, [X19]                                              ; +0x54, 0x100502d38\nLDR             X8, [X8,#0x430]                                        ; +0x58, 0x100502d3c\nMOV             X0, X19                                                ; +0x5c, 0x100502d40\nMOV             W1, #0                                                 ; +0x60, 0x100502d44\nBLR             X8                                                     ; +0x64, 0x100502d48\nLDR             X8, [X19]                                              ; +0x68, 0x100502d4c\nLDR             X8, [X8,#0x210]                                        ; +0x6c, 0x100502d50\nMOV             W20, #1                                                ; +0x70, 0x100502d54\nMOV             X0, X19                                                ; +0x74, 0x100502d58\nMOV             W1, #1                                                 ; +0x78, 0x100502d5c\nBLR             X8                                                     ; +0x7c, 0x100502d60\nMOV             X0, X20                                                ; +0x80, 0x100502d64\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0x100502d68\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0x100502d6c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x8c, 0x100502d70\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x100502d74\nRET                                                                    ; +0x94, 0x100502d78", "xrefs": ["sub_100502D7C @ 0x100502d80", "<???> @ 0x100996800"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}