{"type": "func", "start": 4299766640, "end": 4299767100, "name": "FLAlertLayer::create", "pseudocode": "// \n// FLAlertLayer::create from 0x100493b70 to 0x100493d3c (460 bytes)\n// \n// 39 xrefs:\n// > sub_100212A20 @ 0x100212b86\n// > GJMessageCell::onDeleteMessage @ 0x1002423de\n// > sub_1002924C0 @ 0x100292560\n// > FriendRequestPopup::onBlock @ 0x100292755\n// > GJMessagePopup::onRemove @ 0x100294651\n// > GJMessagePopup::onBlock @ 0x10029487c\n// > GJWriteMessagePopup::onSend @ 0x10029653c\n// > GJWriteMessagePopup::onSend @ 0x1002965dd\n// > GJWriteMessagePopup::onClearBody @ 0x100296897\n// > LevelBrowserLayer::onProcessSelected @ 0x100482dc3\n// > MPLobbyLayer::onBtn1 @ 0x10048ad12\n// > sub_100493AB0 @ 0x100493b21\n// > FLAlertLayer::create_1 @ 0x100493de3\n// > InfoAlertButton::activate @ 0x1005a32a6\n// > MusicDownloadManager::showTOS @ 0x1006504f5\n// > sub_100870760 @ 0x1008708d3\n// > sub_100870760 @ 0x100870994\n// > AudioAssetsBrowser::onInfo @ 0x100899e8f\n// > ProfilePage::onFriend @ 0x1008a2597\n// > ProfilePage::onBlockUser @ 0x1008a2ab1\n// > sub_1008A5090 @ 0x1008a51f9\n// > sub_1009428A0 @ 0x100942a1f\n// > sub_100942AD0 @ 0x100942c4f\n// > sub_100942CF0 @ 0x100942e6f\n// > sub_100949FA0 @ 0x10094a03d\n// > sub_10094A0B0 @ 0x10094a188\n// > sub_10094A530 @ 0x10094a5d4\n// > sub_10094A640 @ 0x10094a79e\n// > sub_10094A810 @ 0x10094a956\n// > sub_10094EB10 @ 0x10094ebcf\n// > sub_10095ECC0 @ 0x10095ed32\n// > sub_100966920 @ 0x100966fe0\n// > sub_10097DE50 @ 0x10097e16c\n// > sub_100982BC0 @ 0x100982e42\n// > sub_100982F10 @ 0x1009832c0\n// > sub_1009A16E0 @ 0x1009a18f9\n// > sub_1009A1CB0 @ 0x1009a1ec6\n// > sub_1009A24F0 @ 0x1009a26ac\n// > AccountReviewPopup::reviewChoicePicked @ 0x1009a2dc3\n// \n// This function is hookable on this platform (idp: pc, 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 12:30:47 +0000\n// \n\nchar *__fastcall FLAlertLayer::create(\n        int a1,\n        int a2,\n        __int128 *a3,\n        int a4,\n        int a5,\n        char a6,\n        float a7,\n        float a8,\n        float a9)\n{\n  char *v11; // rbx\n  double v12; // xmm0_8\n  double v13; // xmm1_8\n  double v14; // xmm2_8\n  char v15; // r14\n  __int128 v19; // [rsp+20h] [rbp-50h] BYREF\n  void *__p; // [rsp+30h] [rbp-40h]\n  float v21; // [rsp+3Ch] [rbp-34h]\n  float v22; // [rsp+40h] [rbp-30h]\n  float v23; // [rsp+44h] [rbp-2Ch]\n\n  v21 = a9;\n  v22 = a8;\n  v23 = a7;\n  v11 = (char *)operator new(0x298u);\n  cocos2d::CCLayerColor::CCLayerColor(v11);\n  *(_QWORD *)v11 = off_100B4FB70;\n  *((_QWORD *)v11 + 40) = off_100B500C0;\n  *((_QWORD *)v11 + 41) = &off_100B50130;\n  *((_QWORD *)v11 + 42) = off_100B50148;\n  *((_QWORD *)v11 + 43) = off_100B50168;\n  *((_QWORD *)v11 + 44) = off_100B50190;\n  *((_QWORD *)v11 + 51) = off_100B501C0;\n  *((_QWORD *)v11 + 54) = off_100B50240;\n  *((_QWORD *)v11 + 68) = off_100B50260;\n  *(_OWORD *)(v11 + 552) = 0;\n  *(_OWORD *)(v11 + 561) = 0;\n  *(_OWORD *)(v11 + 584) = 0;\n  sub_1002782A0((_QWORD *)v11 + 75);\n  *((_OWORD *)v11 + 38) = 0;\n  *((_QWORD *)v11 + 78) = 0;\n  *((_DWORD *)v11 + 158) = -1;\n  *((_WORD *)v11 + 318) = 0;\n  *((_DWORD *)v11 + 160) = -1;\n  v11[644] = 0;\n  *((_QWORD *)v11 + 81) = 0;\n  v11[656] = 0;\n  if ( (*(_BYTE *)a3 & 1) != 0 )\n  {\n    sub_10001AD30(&v19, *((const void **)a3 + 2), *((_QWORD *)a3 + 1));\n  }\n  else\n  {\n    __p = *((void **)a3 + 2);\n    v19 = *a3;\n  }\n  *(_QWORD *)&v12 = LODWORD(v23);\n  *(_QWORD *)&v13 = LODWORD(v22);\n  *(_QWORD *)&v14 = LODWORD(v21);\n  v15 = FLAlertLayer::init((_DWORD)v11, a1, a2, (unsigned int)&v19, a4, a5, a6);\n  if ( (v19 & 1) != 0 )\n    operator delete(__p);\n  if ( v15 )\n  {\n    cocos2d::CCObject::autorelease((__int64)v11);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, double, double, double))(*(_QWORD *)v11 + 16LL))(v11, v12, v13, v14);\n    return nullptr;\n  }\n  return v11;\n}", "assembly": "; \n; FLAlertLayer::create from 0x100493b70 to 0x100493d3c (460 bytes)\n; \n; 39 xrefs:\n; > sub_100212A20 @ 0x100212b86\n; > GJMessageCell::onDeleteMessage @ 0x1002423de\n; > sub_1002924C0 @ 0x100292560\n; > FriendRequestPopup::onBlock @ 0x100292755\n; > GJMessagePopup::onRemove @ 0x100294651\n; > GJMessagePopup::onBlock @ 0x10029487c\n; > GJWriteMessagePopup::onSend @ 0x10029653c\n; > GJWriteMessagePopup::onSend @ 0x1002965dd\n; > GJWriteMessagePopup::onClearBody @ 0x100296897\n; > LevelBrowserLayer::onProcessSelected @ 0x100482dc3\n; > MPLobbyLayer::onBtn1 @ 0x10048ad12\n; > sub_100493AB0 @ 0x100493b21\n; > FLAlertLayer::create_1 @ 0x100493de3\n; > InfoAlertButton::activate @ 0x1005a32a6\n; > MusicDownloadManager::showTOS @ 0x1006504f5\n; > sub_100870760 @ 0x1008708d3\n; > sub_100870760 @ 0x100870994\n; > AudioAssetsBrowser::onInfo @ 0x100899e8f\n; > ProfilePage::onFriend @ 0x1008a2597\n; > ProfilePage::onBlockUser @ 0x1008a2ab1\n; > sub_1008A5090 @ 0x1008a51f9\n; > sub_1009428A0 @ 0x100942a1f\n; > sub_100942AD0 @ 0x100942c4f\n; > sub_100942CF0 @ 0x100942e6f\n; > sub_100949FA0 @ 0x10094a03d\n; > sub_10094A0B0 @ 0x10094a188\n; > sub_10094A530 @ 0x10094a5d4\n; > sub_10094A640 @ 0x10094a79e\n; > sub_10094A810 @ 0x10094a956\n; > sub_10094EB10 @ 0x10094ebcf\n; > sub_10095ECC0 @ 0x10095ed32\n; > sub_100966920 @ 0x100966fe0\n; > sub_10097DE50 @ 0x10097e16c\n; > sub_100982BC0 @ 0x100982e42\n; > sub_100982F10 @ 0x1009832c0\n; > sub_1009A16E0 @ 0x1009a18f9\n; > sub_1009A1CB0 @ 0x1009a1ec6\n; > sub_1009A24F0 @ 0x1009a26ac\n; > AccountReviewPopup::reviewChoicePicked @ 0x1009a2dc3\n; \n; This function is hookable on this platform (idp: pc, 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 12:30:47 +0000\n; \npush    rbp                                                            ; +0x0, 0x100493b70\nmov     rbp, rsp                                                       ; +0x1, 0x100493b71\npush    r15                                                            ; +0x4, 0x100493b74\npush    r14                                                            ; +0x6, 0x100493b76\npush    r13                                                            ; +0x8, 0x100493b78\npush    r12                                                            ; +0xa, 0x100493b7a\npush    rbx                                                            ; +0xc, 0x100493b7c\nsub     rsp, 48h                                                       ; +0xd, 0x100493b7d\nmovss   [rbp+var_34], xmm2                                             ; +0x11, 0x100493b81\nmovss   [rbp+var_30], xmm1                                             ; +0x16, 0x100493b86\nmov     r13d, r9d                                                      ; +0x1b, 0x100493b8b\nmovss   [rbp+var_2C], xmm0                                             ; +0x1e, 0x100493b8e\nmov     [rbp+var_60], r8                                               ; +0x23, 0x100493b93\nmov     [rbp+var_58], rcx                                              ; +0x27, 0x100493b97\nmov     r15, rdx                                                       ; +0x2b, 0x100493b9b\nmov     r12, rsi                                                       ; +0x2e, 0x100493b9e\nmov     r14, rdi                                                       ; +0x31, 0x100493ba1\nmov     edi, 298h; __sz                                                ; +0x34, 0x100493ba4\ncall    __Znwm; operator new(ulong)                                    ; +0x39, 0x100493ba9\nmov     rbx, rax                                                       ; +0x3e, 0x100493bae\nmov     rdi, rax                                                       ; +0x41, 0x100493bb1\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x44, 0x100493bb4\nlea     rax, off_100B4FB70                                             ; +0x49, 0x100493bb9\nmov     [rbx], rax                                                     ; +0x50, 0x100493bc0\nlea     rax, off_100B500C0                                             ; +0x53, 0x100493bc3\nmov     [rbx+140h], rax                                                ; +0x5a, 0x100493bca\nlea     rax, off_100B50130                                             ; +0x61, 0x100493bd1\nmov     [rbx+148h], rax                                                ; +0x68, 0x100493bd8\nlea     rax, off_100B50148                                             ; +0x6f, 0x100493bdf\nmov     [rbx+150h], rax                                                ; +0x76, 0x100493be6\nlea     rax, off_100B50168                                             ; +0x7d, 0x100493bed\nmov     [rbx+158h], rax                                                ; +0x84, 0x100493bf4\nlea     rax, off_100B50190                                             ; +0x8b, 0x100493bfb\nmov     [rbx+160h], rax                                                ; +0x92, 0x100493c02\nlea     rax, off_100B501C0                                             ; +0x99, 0x100493c09\nmov     [rbx+198h], rax                                                ; +0xa0, 0x100493c10\nlea     rax, off_100B50240                                             ; +0xa7, 0x100493c17\nmov     [rbx+1B0h], rax                                                ; +0xae, 0x100493c1e\nlea     rax, off_100B50260                                             ; +0xb5, 0x100493c25\nmov     [rbx+220h], rax                                                ; +0xbc, 0x100493c2c\nmov     rdi, rbx                                                       ; +0xc3, 0x100493c33\nadd     rdi, 258h                                                      ; +0xc6, 0x100493c36\nxorps   xmm0, xmm0                                                     ; +0xcd, 0x100493c3d\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0xd0, 0x100493c40\nmovups  xmmword ptr [rbx+231h], xmm0                                   ; +0xd7, 0x100493c47\nmovups  xmmword ptr [rbx+248h], xmm0                                   ; +0xde, 0x100493c4e\ncall    sub_1002782A0                                                  ; +0xe5, 0x100493c55\nxorps   xmm0, xmm0                                                     ; +0xea, 0x100493c5a\nmovups  xmmword ptr [rbx+260h], xmm0                                   ; +0xed, 0x100493c5d\nmov     qword ptr [rbx+270h], 0                                        ; +0xf4, 0x100493c64\nmov     dword ptr [rbx+278h], 0FFFFFFFFh                               ; +0xff, 0x100493c6f\nmov     word ptr [rbx+27Ch], 0                                         ; +0x109, 0x100493c79\nmov     dword ptr [rbx+280h], 0FFFFFFFFh                               ; +0x112, 0x100493c82\nmov     byte ptr [rbx+284h], 0                                         ; +0x11c, 0x100493c8c\nmov     qword ptr [rbx+288h], 0                                        ; +0x123, 0x100493c93\nmov     byte ptr [rbx+290h], 0                                         ; +0x12e, 0x100493c9e\ntest    byte ptr [r15], 1                                              ; +0x135, 0x100493ca5\njnz     short loc_100493CBD                                            ; +0x139, 0x100493ca9\nmov     rax, [r15+10h]                                                 ; +0x13b, 0x100493cab\nmov     [rbp+__p], rax                                                 ; +0x13f, 0x100493caf\nmovups  xmm0, xmmword ptr [r15]                                        ; +0x143, 0x100493cb3\nmovaps  [rbp+var_50], xmm0                                             ; +0x147, 0x100493cb7\njmp     short loc_100493CCE                                            ; +0x14b, 0x100493cbb\nmov     rdx, [r15+8]                                                   ; +0x14d, 0x100493cbd\nmov     rsi, [r15+10h]                                                 ; +0x151, 0x100493cc1\nlea     rdi, [rbp+var_50]                                              ; +0x155, 0x100493cc5\ncall    sub_10001AD30                                                  ; +0x159, 0x100493cc9\nmovzx   eax, r13b                                                      ; +0x15e, 0x100493cce\nmov     [rsp+70h+var_70], eax                                          ; +0x162, 0x100493cd2\nlea     rcx, [rbp+var_50]                                              ; +0x165, 0x100493cd5\nmov     rdi, rbx                                                       ; +0x169, 0x100493cd9\nmov     rsi, r14                                                       ; +0x16c, 0x100493cdc\nmov     rdx, r12                                                       ; +0x16f, 0x100493cdf\nmov     r8, [rbp+var_58]                                               ; +0x172, 0x100493ce2\nmov     r9, [rbp+var_60]                                               ; +0x176, 0x100493ce6\nmovss   xmm0, [rbp+var_2C]                                             ; +0x17a, 0x100493cea\nmovss   xmm1, [rbp+var_30]                                             ; +0x17f, 0x100493cef\nmovss   xmm2, [rbp+var_34]                                             ; +0x184, 0x100493cf4\ncall    FLAlertLayer__init                                             ; +0x189, 0x100493cf9\nmov     r14d, eax                                                      ; +0x18e, 0x100493cfe\ntest    byte ptr [rbp+var_50], 1                                       ; +0x191, 0x100493d01\njz      short loc_100493D10                                            ; +0x195, 0x100493d05\nmov     rdi, [rbp+__p]; __p                                            ; +0x197, 0x100493d07\ncall    __ZdlPv; operator delete(void *)                               ; +0x19b, 0x100493d0b\ntest    r14b, r14b                                                     ; +0x1a0, 0x100493d10\njz      short loc_100493D1F                                            ; +0x1a3, 0x100493d13\nmov     rdi, rbx                                                       ; +0x1a5, 0x100493d15\ncall    cocos2d__CCObject__autorelease                                 ; +0x1a8, 0x100493d18\njmp     short loc_100493D2A                                            ; +0x1ad, 0x100493d1d\nmov     rax, [rbx]                                                     ; +0x1af, 0x100493d1f\nmov     rdi, rbx                                                       ; +0x1b2, 0x100493d22\ncall    qword ptr [rax+10h]                                            ; +0x1b5, 0x100493d25\nxor     ebx, ebx                                                       ; +0x1b8, 0x100493d28\nmov     rax, rbx                                                       ; +0x1ba, 0x100493d2a\nadd     rsp, 48h                                                       ; +0x1bd, 0x100493d2d\npop     rbx                                                            ; +0x1c1, 0x100493d31\npop     r12                                                            ; +0x1c2, 0x100493d32\npop     r13                                                            ; +0x1c4, 0x100493d34\npop     r14                                                            ; +0x1c6, 0x100493d36\npop     r15                                                            ; +0x1c8, 0x100493d38\npop     rbp                                                            ; +0x1ca, 0x100493d3a\nretn                                                                   ; +0x1cb, 0x100493d3b", "xrefs": ["sub_100212A20 @ 0x100212b86", "GJMessageCell::onDeleteMessage @ 0x1002423de", "sub_1002924C0 @ 0x100292560", "FriendRequestPopup::onBlock @ 0x100292755", "GJMessagePopup::onRemove @ 0x100294651", "GJMessagePopup::onBlock @ 0x10029487c", "GJWriteMessagePopup::onSend @ 0x10029653c", "GJWriteMessagePopup::onSend @ 0x1002965dd", "GJWriteMessagePopup::onClearBody @ 0x100296897", "LevelBrowserLayer::onProcessSelected @ 0x100482dc3", "MPLobbyLayer::onBtn1 @ 0x10048ad12", "sub_100493AB0 @ 0x100493b21", "FLAlertLayer::create_1 @ 0x100493de3", "InfoAlertButton::activate @ 0x1005a32a6", "MusicDownloadManager::showTOS @ 0x1006504f5", "sub_100870760 @ 0x1008708d3", "sub_100870760 @ 0x100870994", "AudioAssetsBrowser::onInfo @ 0x100899e8f", "ProfilePage::onFriend @ 0x1008a2597", "ProfilePage::onBlockUser @ 0x1008a2ab1", "sub_1008A5090 @ 0x1008a51f9", "sub_1009428A0 @ 0x100942a1f", "sub_100942AD0 @ 0x100942c4f", "sub_100942CF0 @ 0x100942e6f", "sub_100949FA0 @ 0x10094a03d", "sub_10094A0B0 @ 0x10094a188", "sub_10094A530 @ 0x10094a5d4", "sub_10094A640 @ 0x10094a79e", "sub_10094A810 @ 0x10094a956", "sub_10094EB10 @ 0x10094ebcf", "sub_10095ECC0 @ 0x10095ed32", "sub_100966920 @ 0x100966fe0", "sub_10097DE50 @ 0x10097e16c", "sub_100982BC0 @ 0x100982e42", "sub_100982F10 @ 0x1009832c0", "sub_1009A16E0 @ 0x1009a18f9", "sub_1009A1CB0 @ 0x1009a1ec6", "sub_1009A24F0 @ 0x1009a26ac", "AccountReviewPopup::reviewChoicePicked @ 0x1009a2dc3"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}