{"type": "func", "start": 5372926848, "end": 5372927146, "name": "SetupAdvFollowPopup::onPremade", "pseudocode": "// \n// SetupAdvFollowPopup::onPremade from 0x140405b80 to 0x140405caa (298 bytes)\n// \n// 2 xrefs:\n// > SetupAdvFollowPopup::init @ 0x140405455\n// > <???> @ 0x1406d8948\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\n// Hidden C++ exception states: #wind=1\nvoid SetupAdvFollowPopup::onPremade(SetupAdvFollowPopup *a1, cocos2d::CCObject *a2)\n{\n  SelectPremadeLayer *v3; // rbx\n  SelectPremadeDelegate *v4; // rax\n  void (*show)(FLAlertLayer *); // rdx\n\n  v3 = (SelectPremadeLayer *)operator new(0x280u);\n  FLAlertLayer::FLAlertLayer(v3);\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SelectPremadeLayer_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&SelectPremadeLayer::`vftable';\n  v3->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&SelectPremadeLayer::`vftable';\n  if ( SelectPremadeLayer::init(v3) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    ((void (__fastcall *)(SelectPremadeLayer *, __int64))v3->~SelectPremadeLayer)(v3, 1);\n    v3 = nullptr;\n  }\n  v4 = &a1->SelectPremadeDelegate;\n  if ( !a1 )\n    v4 = nullptr;\n  v3->m_delegate = v4;\n  show = (void (*)(FLAlertLayer *))v3->show;\n  if ( show == FLAlertLayer::show )\n    FLAlertLayer::show(v3);\n  else\n    show(v3);\n}", "assembly": "; \n; SetupAdvFollowPopup::onPremade from 0x140405b80 to 0x140405caa (298 bytes)\n; \n; 2 xrefs:\n; > SetupAdvFollowPopup::init @ 0x140405455\n; > <???> @ 0x1406d8948\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140405b80\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140405b85\npush    rdi                                                            ; +0xa, 0x140405b8a\nsub     rsp, 20h                                                       ; +0xb, 0x140405b8b\nmov     rdi, rcx                                                       ; +0xf, 0x140405b8f\nmov     ecx, 280h; Size                                                ; +0x12, 0x140405b92\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140405b97\nmov     rbx, rax                                                       ; +0x1c, 0x140405b9c\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x140405b9f\nmov     rcx, rax                                                       ; +0x24, 0x140405ba4\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x27, 0x140405ba7\nlea     rax, ??_7SelectPremadeLayer@@6B@; const SelectPremadeLayer::`vftable' ; +0x2c, 0x140405bac\nmov     [rbx], rax                                                     ; +0x33, 0x140405bb3\nlea     rax, ??_7SelectPremadeLayer@@6B@_0; const SelectPremadeLayer::`vftable' ; +0x36, 0x140405bb6\nmov     [rbx+140h], rax                                                ; +0x3d, 0x140405bbd\nlea     rax, ??_7SelectPremadeLayer@@6B@_1; const SelectPremadeLayer::`vftable' ; +0x44, 0x140405bc4\nmov     [rbx+148h], rax                                                ; +0x4b, 0x140405bcb\nlea     rax, ??_7SelectPremadeLayer@@6B@_2; const SelectPremadeLayer::`vftable' ; +0x52, 0x140405bd2\nmov     [rbx+150h], rax                                                ; +0x59, 0x140405bd9\nlea     rax, ??_7SelectPremadeLayer@@6B@_3; const SelectPremadeLayer::`vftable' ; +0x60, 0x140405be0\nmov     [rbx+158h], rax                                                ; +0x67, 0x140405be7\nlea     rax, ??_7SelectPremadeLayer@@6B@_4; const SelectPremadeLayer::`vftable' ; +0x6e, 0x140405bee\nmov     [rbx+160h], rax                                                ; +0x75, 0x140405bf5\nlea     rax, ??_7SelectPremadeLayer@@6B@_5; const SelectPremadeLayer::`vftable' ; +0x7c, 0x140405bfc\nmov     [rbx+198h], rax                                                ; +0x83, 0x140405c03\nlea     rax, ??_7SelectPremadeLayer@@6B@_6; const SelectPremadeLayer::`vftable' ; +0x8a, 0x140405c0a\nmov     [rbx+1B0h], rax                                                ; +0x91, 0x140405c11\nmov     rax, cs:off_1405D8950                                          ; +0x98, 0x140405c18\nlea     rcx, SelectPremadeLayer__init                                  ; +0x9f, 0x140405c1f\ncmp     rax, rcx                                                       ; +0xa6, 0x140405c26\nmov     rcx, rbx                                                       ; +0xa9, 0x140405c29\njnz     short loc_140405C35                                            ; +0xac, 0x140405c2c\ncall    SelectPremadeLayer__init                                       ; +0xae, 0x140405c2e\njmp     short loc_140405C37                                            ; +0xb3, 0x140405c33\ncall    rax ; SelectPremadeLayer__init                                 ; +0xb5, 0x140405c35\nxor     esi, esi                                                       ; +0xb7, 0x140405c37\nmov     rcx, rbx                                                       ; +0xb9, 0x140405c39\ntest    al, al                                                         ; +0xbc, 0x140405c3c\njz      short loc_140405C48                                            ; +0xbe, 0x140405c3e\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc0, 0x140405c40\njmp     short loc_140405C56                                            ; +0xc6, 0x140405c46\nmov     rax, [rbx]                                                     ; +0xc8, 0x140405c48\nmov     edx, 1                                                         ; +0xcb, 0x140405c4b\ncall    qword ptr [rax+8]                                              ; +0xd0, 0x140405c50\nmov     rbx, rsi                                                       ; +0xd3, 0x140405c53\nlea     rax, [rdi+3A8h]                                                ; +0xd6, 0x140405c56\ntest    rdi, rdi                                                       ; +0xdd, 0x140405c5d\ncmovz   rax, rsi                                                       ; +0xe0, 0x140405c60\nmov     [rbx+278h], rax                                                ; +0xe4, 0x140405c64\nmov     rax, [rbx]                                                     ; +0xeb, 0x140405c6b\nmov     rdx, [rax+410h]                                                ; +0xee, 0x140405c6e\nlea     rax, FLAlertLayer__show                                        ; +0xf5, 0x140405c75\nmov     rcx, rbx                                                       ; +0xfc, 0x140405c7c\ncmp     rdx, rax                                                       ; +0xff, 0x140405c7f\njnz     short loc_140405C98                                            ; +0x102, 0x140405c82\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x104, 0x140405c84\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x109, 0x140405c89\nadd     rsp, 20h                                                       ; +0x10e, 0x140405c8e\npop     rdi                                                            ; +0x112, 0x140405c92\njmp     FLAlertLayer__show                                             ; +0x113, 0x140405c93\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x118, 0x140405c98\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x11d, 0x140405c9d\nadd     rsp, 20h                                                       ; +0x122, 0x140405ca2\npop     rdi                                                            ; +0x126, 0x140405ca6\njmp     rdx                                                            ; +0x127, 0x140405ca7", "xrefs": ["SetupAdvFollowPopup::init @ 0x140405455", "<???> @ 0x1406d8948"], "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"}