{"type": "func", "start": 4299614240, "end": 4299614329, "name": "CreateParticlePopup::create_2", "pseudocode": "// \n// CreateParticlePopup::create_2 from 0x10046e820 to 0x10046e879 (89 bytes)\n// \n// 0 xrefs:\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\nchar *__fastcall CreateParticlePopup::create_2(__int64 a1, double a2)\n{\n  char *result; // rax\n  char *v3; // rbx\n  __int128 v4; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  if ( (*(_BYTE *)a1 & 1) != 0 )\n  {\n    sub_100006B70(&v4, *(const void **)(a1 + 16), *(_QWORD *)(a1 + 8), a2);\n  }\n  else\n  {\n    __p = *(void **)(a1 + 16);\n    v4 = *(_OWORD *)a1;\n  }\n  result = CreateParticlePopup::create(0, 0, &v4);\n  if ( (v4 & 1) != 0 )\n  {\n    v3 = result;\n    operator delete(__p);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::create_2 from 0x10046e820 to 0x10046e879 (89 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x10046e820\nmov     rbp, rsp                                                       ; +0x1, 0x10046e821\npush    rbx                                                            ; +0x4, 0x10046e824\nsub     rsp, 18h                                                       ; +0x5, 0x10046e825\ntest    byte ptr [rdi], 1                                              ; +0x9, 0x10046e829\njnz     short loc_10046E83F                                            ; +0xc, 0x10046e82c\nmov     rax, [rdi+10h]                                                 ; +0xe, 0x10046e82e\nmov     [rbp+__p], rax                                                 ; +0x12, 0x10046e832\nmovups  xmm0, xmmword ptr [rdi]                                        ; +0x16, 0x10046e836\nmovaps  [rbp+var_20], xmm0                                             ; +0x19, 0x10046e839\njmp     short loc_10046E850                                            ; +0x1d, 0x10046e83d\nmov     rdx, [rdi+8]                                                   ; +0x1f, 0x10046e83f\nmov     rsi, [rdi+10h]                                                 ; +0x23, 0x10046e843\nlea     rdi, [rbp+var_20]                                              ; +0x27, 0x10046e847\ncall    sub_100006B70                                                  ; +0x2b, 0x10046e84b\nlea     rdx, [rbp+var_20]                                              ; +0x30, 0x10046e850\nxor     edi, edi                                                       ; +0x34, 0x10046e854\nxor     esi, esi                                                       ; +0x36, 0x10046e856\ncall    CreateParticlePopup__create                                    ; +0x38, 0x10046e858\ntest    byte ptr [rbp+var_20], 1                                       ; +0x3d, 0x10046e85d\njz      short loc_10046E872                                            ; +0x41, 0x10046e861\nmov     rdi, [rbp+__p]; __p                                            ; +0x43, 0x10046e863\nmov     rbx, rax                                                       ; +0x47, 0x10046e867\ncall    __ZdlPv; operator delete(void *)                               ; +0x4a, 0x10046e86a\nmov     rax, rbx                                                       ; +0x4f, 0x10046e86f\nadd     rsp, 18h                                                       ; +0x52, 0x10046e872\npop     rbx                                                            ; +0x56, 0x10046e876\npop     rbp                                                            ; +0x57, 0x10046e877\nretn                                                                   ; +0x58, 0x10046e878", "xrefs": [], "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"}