{"type": "func", "start": 4304417776, "end": 4304417988, "name": "EmotePickerPopup::addCell", "pseudocode": "// \n// EmotePickerPopup::addCell from 0x1009033f0 to 0x1009034c4 (212 bytes)\n// \n// 2 xrefs:\n// > EmotePickerPopup::onBuildWindowContent @ 0x1009031de\n// > EmotePickerPopup::onBuildWindowContent @ 0x10090332a\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:38:03 +0000\n// \n\nvoid *__fastcall EmotePickerPopup::addCell(__int64 a1, __int64 a2, unsigned int a3)\n{\n  __int64 v3; // rax\n  __int64 v5; // rax\n  __int64 v6; // r12\n  void *v7; // r15\n  float v9[12]; // [rsp+0h] [rbp-30h] BYREF\n\n  *(_QWORD *)v9 = v3;\n  v5 = sub_100904430(a2);\n  if ( !v5 )\n    return nullptr;\n  v6 = v5;\n  v7 = CCMenuItemSpriteExtra::create(v5, 0, a1, (__int64)EmotePickerPopup::onPickEmote, 0);\n  sub_100278260(v9, 26.0, 26.0);\n  (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v7 + 320LL))(v7, v9);\n  sub_100278250(v9, 13.0, 13.0);\n  (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, v9);\n  EmoteSprite::fitToHeight(v6, 20.0, 0.0);\n  (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, a3);\n  (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 1048) + 456LL))(*(_QWORD *)(a1 + 1048), v7);\n  return v7;\n}", "assembly": "; \n; EmotePickerPopup::addCell from 0x1009033f0 to 0x1009034c4 (212 bytes)\n; \n; 2 xrefs:\n; > EmotePickerPopup::onBuildWindowContent @ 0x1009031de\n; > EmotePickerPopup::onBuildWindowContent @ 0x10090332a\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:38:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x1009033f0\nmov     rbp, rsp                                                       ; +0x1, 0x1009033f1\npush    r15                                                            ; +0x4, 0x1009033f4\npush    r14                                                            ; +0x6, 0x1009033f6\npush    r13                                                            ; +0x8, 0x1009033f8\npush    r12                                                            ; +0xa, 0x1009033fa\npush    rbx                                                            ; +0xc, 0x1009033fc\npush    rax                                                            ; +0xd, 0x1009033fd\nmov     r14d, edx                                                      ; +0xe, 0x1009033fe\nmov     rbx, rdi                                                       ; +0x11, 0x100903401\nmov     rdi, rsi                                                       ; +0x14, 0x100903404\ncall    sub_100904430                                                  ; +0x17, 0x100903407\ntest    rax, rax                                                       ; +0x1c, 0x10090340c\njz      loc_1009034AF                                                  ; +0x1f, 0x10090340f\nmov     r12, rax                                                       ; +0x25, 0x100903415\nlea     rcx, EmotePickerPopup__onPickEmote                             ; +0x28, 0x100903418\nmov     rdi, rax                                                       ; +0x2f, 0x10090341f\nxor     esi, esi                                                       ; +0x32, 0x100903422\nmov     rdx, rbx                                                       ; +0x34, 0x100903424\nxor     r8d, r8d                                                       ; +0x37, 0x100903427\ncall    CCMenuItemSpriteExtra__create                                  ; +0x3a, 0x10090342a\nmov     r15, rax                                                       ; +0x3f, 0x10090342f\nlea     r13, [rbp+var_30]                                              ; +0x42, 0x100903432\nmovss   xmm0, cs:dword_100A06288                                       ; +0x46, 0x100903436\nmov     rdi, r13                                                       ; +0x4e, 0x10090343e\nmovaps  xmm1, xmm0                                                     ; +0x51, 0x100903441\ncall    sub_100278260                                                  ; +0x54, 0x100903444\nmov     rax, [r15]                                                     ; +0x59, 0x100903449\nmov     rdi, r15                                                       ; +0x5c, 0x10090344c\nmov     rsi, r13                                                       ; +0x5f, 0x10090344f\ncall    qword ptr [rax+140h]                                           ; +0x62, 0x100903452\nmovss   xmm0, cs:dword_100A063F4                                       ; +0x68, 0x100903458\nmov     rdi, r13                                                       ; +0x70, 0x100903460\nmovaps  xmm1, xmm0                                                     ; +0x73, 0x100903463\ncall    sub_100278250                                                  ; +0x76, 0x100903466\nmov     rax, [r12]                                                     ; +0x7b, 0x10090346b\nmov     rdi, r12                                                       ; +0x7f, 0x10090346f\nmov     rsi, r13                                                       ; +0x82, 0x100903472\ncall    qword ptr [rax+0B8h]                                           ; +0x85, 0x100903475\nmovss   xmm0, cs:dword_100A0359C                                       ; +0x8b, 0x10090347b\nxorps   xmm1, xmm1                                                     ; +0x93, 0x100903483\nmov     rdi, r12                                                       ; +0x96, 0x100903486\ncall    EmoteSprite__fitToHeight                                       ; +0x99, 0x100903489\nmov     rax, [r15]                                                     ; +0x9e, 0x10090348e\nmov     rdi, r15                                                       ; +0xa1, 0x100903491\nmov     esi, r14d                                                      ; +0xa4, 0x100903494\ncall    qword ptr [rax+48h]                                            ; +0xa7, 0x100903497\nmov     rdi, [rbx+418h]                                                ; +0xaa, 0x10090349a\nmov     rax, [rdi]                                                     ; +0xb1, 0x1009034a1\nmov     rsi, r15                                                       ; +0xb4, 0x1009034a4\ncall    qword ptr [rax+1C8h]                                           ; +0xb7, 0x1009034a7\njmp     short loc_1009034B2                                            ; +0xbd, 0x1009034ad\nxor     r15d, r15d                                                     ; +0xbf, 0x1009034af\nmov     rax, r15                                                       ; +0xc2, 0x1009034b2\nadd     rsp, 8                                                         ; +0xc5, 0x1009034b5\npop     rbx                                                            ; +0xc9, 0x1009034b9\npop     r12                                                            ; +0xca, 0x1009034ba\npop     r13                                                            ; +0xcc, 0x1009034bc\npop     r14                                                            ; +0xce, 0x1009034be\npop     r15                                                            ; +0xd0, 0x1009034c0\npop     rbp                                                            ; +0xd2, 0x1009034c2\nretn                                                                   ; +0xd3, 0x1009034c3", "xrefs": ["EmotePickerPopup::onBuildWindowContent @ 0x1009031de", "EmotePickerPopup::onBuildWindowContent @ 0x10090332a"], "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"}