{"type": "func", "start": 5369047472, "end": 5369047554, "name": "FLAlertLayer::onBtn1", "pseudocode": "// \n// FLAlertLayer::onBtn1 from 0x1400529b0 to 0x140052a02 (82 bytes)\n// \n// 2 xrefs:\n// > FLAlertLayer::init @ 0x140052572\n// > <???> @ 0x1406c4e48\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid FLAlertLayer::onBtn1(FLAlertLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  _BOOL8 v5; // rdx\n  FLAlertLayerProtocol *m_alertProtocol; // rcx\n\n  v3 = cocos2d::CCDirector::sharedDirector(a1, a2);\n  v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1);\n  m_alertProtocol = a1->m_alertProtocol;\n  if ( m_alertProtocol )\n    m_alertProtocol->FLAlert_Clicked(m_alertProtocol, a1, 0);\n  LOBYTE(v5) = 1;\n  a1->removeFromParentAndCleanup(a1, v5);\n}", "assembly": "; \n; FLAlertLayer::onBtn1 from 0x1400529b0 to 0x140052a02 (82 bytes)\n; \n; 2 xrefs:\n; > FLAlertLayer::init @ 0x140052572\n; > <???> @ 0x1406c4e48\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400529b0\nsub     rsp, 20h                                                       ; +0x2, 0x1400529b2\nmov     rbx, rcx                                                       ; +0x6, 0x1400529b6\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x1400529b9\nmov     rcx, rax                                                       ; +0xf, 0x1400529bf\nmov     rdx, [rax]                                                     ; +0x12, 0x1400529c2\ncall    qword ptr [rdx+90h]                                            ; +0x15, 0x1400529c5\nmov     rcx, rax                                                       ; +0x1b, 0x1400529cb\nmov     rdx, rbx                                                       ; +0x1e, 0x1400529ce\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x21, 0x1400529d1\nmov     rcx, [rbx+228h]                                                ; +0x27, 0x1400529d7\ntest    rcx, rcx                                                       ; +0x2e, 0x1400529de\njz      short loc_1400529EE                                            ; +0x31, 0x1400529e1\nmov     rax, [rcx]                                                     ; +0x33, 0x1400529e3\nxor     r8d, r8d                                                       ; +0x36, 0x1400529e6\nmov     rdx, rbx                                                       ; +0x39, 0x1400529e9\ncall    qword ptr [rax]                                                ; +0x3c, 0x1400529ec\nmov     rax, [rbx]                                                     ; +0x3e, 0x1400529ee\nmov     dl, 1                                                          ; +0x41, 0x1400529f1\nmov     rcx, rbx                                                       ; +0x43, 0x1400529f3\nadd     rsp, 20h                                                       ; +0x46, 0x1400529f6\npop     rbx                                                            ; +0x4a, 0x1400529fa\njmp     qword ptr [rax+1F8h]                                           ; +0x4b, 0x1400529fb", "xrefs": ["FLAlertLayer::init @ 0x140052572", "<???> @ 0x1406c4e48"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}