{"type": "func", "start": 4304415584, "end": 4304415817, "name": "EmotePickerPopup::openAt", "pseudocode": "// \n// EmotePickerPopup::openAt from 0x100902b60 to 0x100902c49 (233 bytes)\n// \n// 2 xrefs:\n// > EmotePickerPopup::toggle @ 0x100902b43\n// > sub_100902CA0 @ 0x100902d0f\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\n__int64 __fastcall EmotePickerPopup::openAt(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // r15\n  unsigned int *v5; // rax\n  _QWORD *v6; // rax\n  __m128 v7; // xmm2\n  __m128 v8; // xmm3\n  unsigned __int64 v10[2]; // [rsp+8h] [rbp-38h] BYREF\n  double v11; // [rsp+18h] [rbp-28h] BYREF\n  __int64 v12; // [rsp+20h] [rbp-20h] BYREF\n\n  if ( a1 )\n  {\n    *(_QWORD *)(a1 + 1184) = a2;\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 512LL))(a3);\n    v5 = (unsigned int *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 192LL))(a3);\n    cocos2d::CCNode::convertToWorldSpace(&v11, v4, v5);\n    v6 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a3 + 328LL))(a3);\n    sub_100278630(&v12, v6);\n    v7 = (__m128)(unsigned int)v12;\n    v8 = (__m128)HIDWORD(v12);\n    v7.f32[0] = *(float *)&v12 + 8.0;\n    v8.f32[0] = *((float *)&v12 + 1) + 8.0;\n    sub_100278270(\n      (__int64)v10,\n      (float)(*(float *)&v11 - (float)(*(float *)&v12 * 0.5)) + -4.0,\n      (float)(*((float *)&v11 + 1) - (float)(0.5 * *((float *)&v12 + 1))) + -4.0,\n      v7,\n      v8);\n    sub_100278810((__m128 *)(a1 + 1192), v10);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1);\n  }\n  return a1;\n}", "assembly": "; \n; EmotePickerPopup::openAt from 0x100902b60 to 0x100902c49 (233 bytes)\n; \n; 2 xrefs:\n; > EmotePickerPopup::toggle @ 0x100902b43\n; > sub_100902CA0 @ 0x100902d0f\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, 0x100902b60\nmov     rbp, rsp                                                       ; +0x1, 0x100902b61\npush    r15                                                            ; +0x4, 0x100902b64\npush    r14                                                            ; +0x6, 0x100902b66\npush    rbx                                                            ; +0x8, 0x100902b68\nsub     rsp, 28h                                                       ; +0x9, 0x100902b69\nmov     rbx, rdi                                                       ; +0xd, 0x100902b6d\ntest    rdi, rdi                                                       ; +0x10, 0x100902b70\njz      loc_100902C3B                                                  ; +0x13, 0x100902b73\nmov     r14, rdx                                                       ; +0x19, 0x100902b79\nmov     [rbx+4A0h], rsi                                                ; +0x1c, 0x100902b7c\nmov     rax, [rdx]                                                     ; +0x23, 0x100902b83\nmov     rdi, rdx                                                       ; +0x26, 0x100902b86\ncall    qword ptr [rax+200h]                                           ; +0x29, 0x100902b89\nmov     r15, rax                                                       ; +0x2f, 0x100902b8f\nmov     rax, [r14]                                                     ; +0x32, 0x100902b92\nmov     rdi, r14                                                       ; +0x35, 0x100902b95\ncall    qword ptr [rax+0C0h]                                           ; +0x38, 0x100902b98\nlea     rdi, [rbp+var_28]                                              ; +0x3e, 0x100902b9e\nmov     rsi, r15                                                       ; +0x42, 0x100902ba2\nmov     rdx, rax                                                       ; +0x45, 0x100902ba5\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x48, 0x100902ba8\nmov     rax, [r14]                                                     ; +0x4d, 0x100902bad\nmov     rdi, r14                                                       ; +0x50, 0x100902bb0\ncall    qword ptr [rax+148h]                                           ; +0x53, 0x100902bb3\nlea     rdi, [rbp+var_20]                                              ; +0x59, 0x100902bb9\nmov     rsi, rax                                                       ; +0x5d, 0x100902bbd\ncall    sub_100278630                                                  ; +0x60, 0x100902bc0\nmovss   xmm2, [rbp+var_20]                                             ; +0x65, 0x100902bc5\nmovss   xmm3, [rbp+var_1C]                                             ; +0x6a, 0x100902bca\nmovss   xmm4, cs:dword_100A03578                                       ; +0x6f, 0x100902bcf\nmovaps  xmm1, xmm2                                                     ; +0x77, 0x100902bd7\nmulss   xmm1, xmm4                                                     ; +0x7a, 0x100902bda\nmovss   xmm0, [rbp+var_28]                                             ; +0x7e, 0x100902bde\nsubss   xmm0, xmm1                                                     ; +0x83, 0x100902be3\nmovss   xmm1, [rbp+var_24]                                             ; +0x87, 0x100902be7\nmovss   xmm5, cs:dword_100A03FD4                                       ; +0x8c, 0x100902bec\naddss   xmm0, xmm5                                                     ; +0x94, 0x100902bf4\nmulss   xmm4, xmm3                                                     ; +0x98, 0x100902bf8\nsubss   xmm1, xmm4                                                     ; +0x9c, 0x100902bfc\naddss   xmm1, xmm5                                                     ; +0xa0, 0x100902c00\nmovss   xmm4, cs:dword_100A03D64                                       ; +0xa4, 0x100902c04\naddss   xmm2, xmm4                                                     ; +0xac, 0x100902c0c\naddss   xmm3, xmm4                                                     ; +0xb0, 0x100902c10\nlea     r14, [rbp+var_38]                                              ; +0xb4, 0x100902c14\nmov     rdi, r14                                                       ; +0xb8, 0x100902c18\ncall    sub_100278270                                                  ; +0xbb, 0x100902c1b\nlea     rdi, [rbx+4A8h]                                                ; +0xc0, 0x100902c20\nmov     rsi, r14                                                       ; +0xc7, 0x100902c27\ncall    sub_100278810                                                  ; +0xca, 0x100902c2a\nmov     rax, [rbx]                                                     ; +0xcf, 0x100902c2f\nmov     rdi, rbx                                                       ; +0xd2, 0x100902c32\ncall    qword ptr [rax+520h]                                           ; +0xd5, 0x100902c35\nmov     rax, rbx                                                       ; +0xdb, 0x100902c3b\nadd     rsp, 28h                                                       ; +0xde, 0x100902c3e\npop     rbx                                                            ; +0xe2, 0x100902c42\npop     r14                                                            ; +0xe3, 0x100902c43\npop     r15                                                            ; +0xe5, 0x100902c45\npop     rbp                                                            ; +0xe7, 0x100902c47\nretn                                                                   ; +0xe8, 0x100902c48", "xrefs": ["EmotePickerPopup::toggle @ 0x100902b43", "sub_100902CA0 @ 0x100902d0f"], "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"}