{"type": "func", "start": 4297658400, "end": 4297658917, "name": "FriendRequestPopup::create", "pseudocode": "// \n// FriendRequestPopup::create from 0x100291020 to 0x100291225 (517 bytes)\n// \n// 2 xrefs:\n// > GJRequestCell::onViewFriendRequest @ 0x1002407c2\n// > ProfilePage::onFriend @ 0x1008a2412\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:27:49 +0000\n// \n\nchar *__fastcall FriendRequestPopup::create(__int64 a1, unsigned __int8 a2)\n{\n  char *v2; // rbx\n\n  v2 = (char *)operator new(0x2D8u);\n  cocos2d::CCLayerColor::CCLayerColor(v2);\n  *(_QWORD *)v2 = off_100B4FB70;\n  *((_QWORD *)v2 + 40) = off_100B500C0;\n  *((_QWORD *)v2 + 41) = &off_100B50130;\n  *((_QWORD *)v2 + 42) = off_100B50148;\n  *((_QWORD *)v2 + 43) = off_100B50168;\n  *((_QWORD *)v2 + 44) = off_100B50190;\n  *((_QWORD *)v2 + 51) = off_100B501C0;\n  *((_QWORD *)v2 + 54) = off_100B50240;\n  *((_QWORD *)v2 + 68) = off_100B50260;\n  *(_OWORD *)(v2 + 552) = 0;\n  *(_OWORD *)(v2 + 561) = 0;\n  *(_OWORD *)(v2 + 584) = 0;\n  sub_1002782A0((_QWORD *)v2 + 75);\n  *((_OWORD *)v2 + 38) = 0;\n  *((_QWORD *)v2 + 78) = 0;\n  *((_DWORD *)v2 + 158) = -1;\n  *((_WORD *)v2 + 318) = 0;\n  *((_DWORD *)v2 + 160) = -1;\n  v2[644] = 0;\n  *((_QWORD *)v2 + 81) = 0;\n  v2[656] = 0;\n  *(_QWORD *)v2 = off_100B015E8;\n  *((_QWORD *)v2 + 40) = off_100B01B58;\n  *((_QWORD *)v2 + 41) = &off_100B01BC8;\n  *((_QWORD *)v2 + 42) = off_100B01BE0;\n  *((_QWORD *)v2 + 43) = off_100B01C00;\n  *((_QWORD *)v2 + 44) = off_100B01C28;\n  *((_QWORD *)v2 + 51) = off_100B01C58;\n  *((_QWORD *)v2 + 54) = off_100B01CD8;\n  *((_QWORD *)v2 + 68) = off_100B01CF8;\n  *((_QWORD *)v2 + 83) = off_100B01D40;\n  *((_QWORD *)v2 + 84) = &off_100B01D60;\n  *((_QWORD *)v2 + 85) = &off_100B01D78;\n  *((_WORD *)v2 + 344) = 0;\n  *(_OWORD *)(v2 + 712) = 0;\n  *(_OWORD *)(v2 + 696) = 0;\n  if ( (unsigned __int8)FriendRequestPopup::init(v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; FriendRequestPopup::create from 0x100291020 to 0x100291225 (517 bytes)\n; \n; 2 xrefs:\n; > GJRequestCell::onViewFriendRequest @ 0x1002407c2\n; > ProfilePage::onFriend @ 0x1008a2412\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:27:49 +0000\n; \npush    rbp                                                            ; +0x0, 0x100291020\nmov     rbp, rsp                                                       ; +0x1, 0x100291021\npush    r15                                                            ; +0x4, 0x100291024\npush    r14                                                            ; +0x6, 0x100291026\npush    rbx                                                            ; +0x8, 0x100291028\npush    rax                                                            ; +0x9, 0x100291029\nmov     r15d, esi                                                      ; +0xa, 0x10029102a\nmov     r14, rdi                                                       ; +0xd, 0x10029102d\nmov     edi, 2D8h; __sz                                                ; +0x10, 0x100291030\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x100291035\nmov     rbx, rax                                                       ; +0x1a, 0x10029103a\nmov     rdi, rax                                                       ; +0x1d, 0x10029103d\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x20, 0x100291040\nlea     rax, _ZTV12FLAlertLayer; `vtable for'FLAlertLayer              ; +0x25, 0x100291045\nlea     rcx, [rax+10h]                                                 ; +0x2c, 0x10029104c\nmov     [rbx], rcx                                                     ; +0x30, 0x100291050\nlea     rcx, [rax+560h]                                                ; +0x33, 0x100291053\nmov     [rbx+140h], rcx                                                ; +0x3a, 0x10029105a\nlea     rcx, [rax+5D0h]                                                ; +0x41, 0x100291061\nmov     [rbx+148h], rcx                                                ; +0x48, 0x100291068\nlea     rcx, [rax+5E8h]                                                ; +0x4f, 0x10029106f\nmov     [rbx+150h], rcx                                                ; +0x56, 0x100291076\nlea     rcx, [rax+608h]                                                ; +0x5d, 0x10029107d\nmov     [rbx+158h], rcx                                                ; +0x64, 0x100291084\nlea     rcx, [rax+630h]                                                ; +0x6b, 0x10029108b\nmov     [rbx+160h], rcx                                                ; +0x72, 0x100291092\nlea     rcx, [rax+660h]                                                ; +0x79, 0x100291099\nmov     [rbx+198h], rcx                                                ; +0x80, 0x1002910a0\nlea     rcx, [rax+6E0h]                                                ; +0x87, 0x1002910a7\nmov     [rbx+1B0h], rcx                                                ; +0x8e, 0x1002910ae\nadd     rax, 700h                                                      ; +0x95, 0x1002910b5\nmov     [rbx+220h], rax                                                ; +0x9b, 0x1002910bb\nmov     rdi, rbx                                                       ; +0xa2, 0x1002910c2\nadd     rdi, 258h                                                      ; +0xa5, 0x1002910c5\nxorps   xmm0, xmm0                                                     ; +0xac, 0x1002910cc\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0xaf, 0x1002910cf\nmovups  xmmword ptr [rbx+231h], xmm0                                   ; +0xb6, 0x1002910d6\nmovups  xmmword ptr [rbx+248h], xmm0                                   ; +0xbd, 0x1002910dd\ncall    sub_1002782A0                                                  ; +0xc4, 0x1002910e4\nxorps   xmm0, xmm0                                                     ; +0xc9, 0x1002910e9\nmovups  xmmword ptr [rbx+260h], xmm0                                   ; +0xcc, 0x1002910ec\nmov     qword ptr [rbx+270h], 0                                        ; +0xd3, 0x1002910f3\nmov     dword ptr [rbx+278h], 0FFFFFFFFh                               ; +0xde, 0x1002910fe\nmov     word ptr [rbx+27Ch], 0                                         ; +0xe8, 0x100291108\nmov     dword ptr [rbx+280h], 0FFFFFFFFh                               ; +0xf1, 0x100291111\nmov     byte ptr [rbx+284h], 0                                         ; +0xfb, 0x10029111b\nmov     qword ptr [rbx+288h], 0                                        ; +0x102, 0x100291122\nmov     byte ptr [rbx+290h], 0                                         ; +0x10d, 0x10029112d\nlea     rax, off_100B015E8                                             ; +0x114, 0x100291134\nmov     [rbx], rax                                                     ; +0x11b, 0x10029113b\nlea     rax, off_100B01B58                                             ; +0x11e, 0x10029113e\nmov     [rbx+140h], rax                                                ; +0x125, 0x100291145\nlea     rax, off_100B01BC8                                             ; +0x12c, 0x10029114c\nmov     [rbx+148h], rax                                                ; +0x133, 0x100291153\nlea     rax, off_100B01BE0                                             ; +0x13a, 0x10029115a\nmov     [rbx+150h], rax                                                ; +0x141, 0x100291161\nlea     rax, off_100B01C00                                             ; +0x148, 0x100291168\nmov     [rbx+158h], rax                                                ; +0x14f, 0x10029116f\nlea     rax, off_100B01C28                                             ; +0x156, 0x100291176\nmov     [rbx+160h], rax                                                ; +0x15d, 0x10029117d\nlea     rax, off_100B01C58                                             ; +0x164, 0x100291184\nmov     [rbx+198h], rax                                                ; +0x16b, 0x10029118b\nlea     rax, off_100B01CD8                                             ; +0x172, 0x100291192\nmov     [rbx+1B0h], rax                                                ; +0x179, 0x100291199\nlea     rax, off_100B01CF8                                             ; +0x180, 0x1002911a0\nmov     [rbx+220h], rax                                                ; +0x187, 0x1002911a7\nlea     rax, off_100B01D40                                             ; +0x18e, 0x1002911ae\nmov     [rbx+298h], rax                                                ; +0x195, 0x1002911b5\nlea     rax, off_100B01D60                                             ; +0x19c, 0x1002911bc\nmov     [rbx+2A0h], rax                                                ; +0x1a3, 0x1002911c3\nlea     rax, off_100B01D78                                             ; +0x1aa, 0x1002911ca\nmov     [rbx+2A8h], rax                                                ; +0x1b1, 0x1002911d1\nmov     word ptr [rbx+2B0h], 0                                         ; +0x1b8, 0x1002911d8\nmovups  xmmword ptr [rbx+2C8h], xmm0                                   ; +0x1c1, 0x1002911e1\nmovups  xmmword ptr [rbx+2B8h], xmm0                                   ; +0x1c8, 0x1002911e8\nmovzx   edx, r15b                                                      ; +0x1cf, 0x1002911ef\nmov     rdi, rbx                                                       ; +0x1d3, 0x1002911f3\nmov     rsi, r14                                                       ; +0x1d6, 0x1002911f6\ncall    FriendRequestPopup__init                                       ; +0x1d9, 0x1002911f9\ntest    al, al                                                         ; +0x1de, 0x1002911fe\njz      short loc_10029120C                                            ; +0x1e0, 0x100291200\nmov     rdi, rbx                                                       ; +0x1e2, 0x100291202\ncall    cocos2d__CCObject__autorelease                                 ; +0x1e5, 0x100291205\njmp     short loc_100291217                                            ; +0x1ea, 0x10029120a\nmov     rax, [rbx]                                                     ; +0x1ec, 0x10029120c\nmov     rdi, rbx                                                       ; +0x1ef, 0x10029120f\ncall    qword ptr [rax+10h]                                            ; +0x1f2, 0x100291212\nxor     ebx, ebx                                                       ; +0x1f5, 0x100291215\nmov     rax, rbx                                                       ; +0x1f7, 0x100291217\nadd     rsp, 8                                                         ; +0x1fa, 0x10029121a\npop     rbx                                                            ; +0x1fe, 0x10029121e\npop     r14                                                            ; +0x1ff, 0x10029121f\npop     r15                                                            ; +0x201, 0x100291221\npop     rbp                                                            ; +0x203, 0x100291223\nretn                                                                   ; +0x204, 0x100291224", "xrefs": ["GJRequestCell::onViewFriendRequest @ 0x1002407c2", "ProfilePage::onFriend @ 0x1008a2412"], "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"}