{"type": "func", "start": 5372298480, "end": 5372298718, "name": "GJEffectManager::spawnGroup", "pseudocode": "// \n// GJEffectManager::spawnGroup from 0x14036c4f0 to 0x14036c5de (238 bytes)\n// \n// 3 xrefs:\n// > GJEffectManager::prepareMoveActions @ 0x14036abc0\n// > SpawnTriggerGameObject::triggerObject @ 0x14065a359\n// > <???> @ 0x1409219c8\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 11:30:57 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJEffectManager::spawnGroup(\n        __int64 a1,\n        int a2,\n        float a3,\n        char a4,\n        char **a5,\n        int a6,\n        unsigned int a7)\n{\n  __int64 v7; // rdi\n  __int64 v8; // rbx\n  __int64 result; // rax\n  int v10; // [rsp+68h] [rbp+10h] BYREF\n  float v11; // [rsp+70h] [rbp+18h] BYREF\n  char v12; // [rsp+78h] [rbp+20h] BYREF\n\n  if ( a2 > 0 )\n  {\n    v12 = a4;\n    v11 = a3;\n    v10 = a2;\n    v7 = a1 + 1456;\n    v8 = *(_QWORD *)(a1 + 1464);\n    if ( v8 == *(_QWORD *)(a1 + 1472) )\n    {\n      return sub_140374F40(\n               (int)a1 + 1456,\n               v8,\n               (unsigned int)&v10,\n               (unsigned int)&v11,\n               (__int64)&v12,\n               (__int64)a5,\n               (__int64)&a6,\n               (__int64)&a7);\n    }\n    else\n    {\n      *(_WORD *)v8 = 0;\n      *(_QWORD *)(v8 + 16) = 0;\n      *(_QWORD *)(v8 + 28) = 0;\n      *(_QWORD *)(v8 + 40) = 0;\n      *(_QWORD *)(v8 + 48) = 0;\n      *(_QWORD *)(v8 + 56) = 0;\n      *(_QWORD *)(v8 + 64) = 0;\n      *(_DWORD *)(v8 + 24) = a2;\n      *(double *)(v8 + 8) = a3;\n      *(_BYTE *)(v8 + 36) = a4;\n      sub_140099FC0((void **)(v8 + 48), a5);\n      *(_DWORD *)(v8 + 28) = a6;\n      result = a7;\n      *(_DWORD *)(v8 + 32) = a7;\n      *(_QWORD *)(v7 + 8) += 72LL;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJEffectManager::spawnGroup from 0x14036c4f0 to 0x14036c5de (238 bytes)\n; \n; 3 xrefs:\n; > GJEffectManager::prepareMoveActions @ 0x14036abc0\n; > SpawnTriggerGameObject::triggerObject @ 0x14065a359\n; > <???> @ 0x1409219c8\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 11:30:57 +0000\n; \ntest    edx, edx                                                       ; +0x0, 0x14036c4f0\njle     locret_14036C5DD                                               ; +0x2, 0x14036c4f2\nmov     [rsp+arg_0], rbx                                               ; +0x8, 0x14036c4f8\nmov     [rsp+arg_18], r9b                                              ; +0xd, 0x14036c4fd\nmovss   [rsp+arg_10], xmm2                                             ; +0x12, 0x14036c502\nmov     [rsp+arg_8], edx                                               ; +0x18, 0x14036c508\npush    rdi                                                            ; +0x1c, 0x14036c50c\nsub     rsp, 50h                                                       ; +0x1d, 0x14036c50d\nlea     rdi, [rcx+5B0h]                                                ; +0x21, 0x14036c511\nmov     rbx, [rdi+8]                                                   ; +0x28, 0x14036c518\ncmp     rbx, [rdi+10h]                                                 ; +0x2c, 0x14036c51c\njz      short loc_14036C58D                                            ; +0x30, 0x14036c520\nmov     [rsp+58h+var_18], rbx                                          ; +0x32, 0x14036c522\nxorps   xmm0, xmm0                                                     ; +0x37, 0x14036c527\ncvtss2sd xmm0, xmm2                                                    ; +0x3a, 0x14036c52a\nmov     word ptr [rbx], 0                                              ; +0x3e, 0x14036c52e\nxor     eax, eax                                                       ; +0x43, 0x14036c533\nmov     [rbx+10h], rax                                                 ; +0x45, 0x14036c535\nmov     [rbx+1Ch], rax                                                 ; +0x49, 0x14036c539\nmov     [rbx+28h], rax                                                 ; +0x4d, 0x14036c53d\nlea     rcx, [rbx+30h]                                                 ; +0x51, 0x14036c541\nmov     [rcx], rax                                                     ; +0x55, 0x14036c545\nmov     [rcx+8], rax                                                   ; +0x58, 0x14036c548\nmov     [rcx+10h], rax                                                 ; +0x5c, 0x14036c54c\nmov     [rbx+18h], edx                                                 ; +0x60, 0x14036c550\nmovsd   qword ptr [rbx+8], xmm0                                        ; +0x63, 0x14036c553\nmov     [rbx+24h], r9b                                                 ; +0x68, 0x14036c558\nmov     rdx, [rsp+58h+arg_20]                                          ; +0x6c, 0x14036c55c\ncall    sub_140099FC0                                                  ; +0x74, 0x14036c564\nmov     eax, [rsp+58h+arg_28]                                          ; +0x79, 0x14036c569\nmov     [rbx+1Ch], eax                                                 ; +0x80, 0x14036c570\nmov     eax, [rsp+58h+arg_30]                                          ; +0x83, 0x14036c573\nmov     [rbx+20h], eax                                                 ; +0x8a, 0x14036c57a\nadd     qword ptr [rdi+8], 48h ; 'H'                                   ; +0x8d, 0x14036c57d\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x92, 0x14036c582\nadd     rsp, 50h                                                       ; +0x97, 0x14036c587\npop     rdi                                                            ; +0x9b, 0x14036c58b\nretn                                                                   ; +0x9c, 0x14036c58c\nlea     rax, [rsp+58h+arg_30]                                          ; +0x9d, 0x14036c58d\nmov     [rsp+58h+var_20], rax                                          ; +0xa5, 0x14036c595\nlea     rax, [rsp+58h+arg_28]                                          ; +0xaa, 0x14036c59a\nmov     [rsp+58h+var_28], rax                                          ; +0xb2, 0x14036c5a2\nmov     rax, [rsp+58h+arg_20]                                          ; +0xb7, 0x14036c5a7\nmov     [rsp+58h+var_30], rax                                          ; +0xbf, 0x14036c5af\nlea     rax, [rsp+58h+arg_18]                                          ; +0xc4, 0x14036c5b4\nmov     [rsp+58h+var_38], rax                                          ; +0xc9, 0x14036c5b9\nlea     r9, [rsp+58h+arg_10]                                           ; +0xce, 0x14036c5be\nlea     r8, [rsp+58h+arg_8]                                            ; +0xd3, 0x14036c5c3\nmov     rdx, rbx                                                       ; +0xd8, 0x14036c5c8\nmov     rcx, rdi                                                       ; +0xdb, 0x14036c5cb\ncall    sub_140374F40                                                  ; +0xde, 0x14036c5ce\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xe3, 0x14036c5d3\nadd     rsp, 50h                                                       ; +0xe8, 0x14036c5d8\npop     rdi                                                            ; +0xec, 0x14036c5dc\nretn                                                                   ; +0xed, 0x14036c5dd", "xrefs": ["GJEffectManager::prepareMoveActions @ 0x14036abc0", "SpawnTriggerGameObject::triggerObject @ 0x14065a359", "<???> @ 0x1409219c8"], "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"}