{"type": "func", "start": 4296045072, "end": 4296045198, "name": "GJBaseGameLayer::spawnPlayer2", "pseudocode": "// \n// GJBaseGameLayer::spawnPlayer2 from 0x100107210 to 0x10010728e (126 bytes)\n// \n// 0 xrefs:\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:21:32 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::spawnPlayer2(__int64 a1)\n{\n  __int64 v1; // rax\n\n  if ( !(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3264) + 512LL))(*(_QWORD *)(a1 + 3264)) )\n  {\n    v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3256) + 512LL))(*(_QWORD *)(a1 + 3256));\n    (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v1 + 464LL))(v1, *(_QWORD *)(a1 + 3264), 59);\n    if ( !*(_BYTE *)(a1 + 12236) )\n      PlayerObject::addAllParticles(*(_QWORD *)(a1 + 3264));\n  }\n  return PlayerObject::spawnFromPlayer(\n           *(_QWORD *)(a1 + 3264),\n           *(_QWORD *)(a1 + 3256),\n           *(unsigned __int8 *)(a1 + 1912) ^ 1u);\n}", "assembly": "; \n; GJBaseGameLayer::spawnPlayer2 from 0x100107210 to 0x10010728e (126 bytes)\n; \n; 0 xrefs:\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:21:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x100107210\nmov     rbp, rsp                                                       ; +0x1, 0x100107211\npush    rbx                                                            ; +0x4, 0x100107214\npush    rax                                                            ; +0x5, 0x100107215\nmov     rbx, rdi                                                       ; +0x6, 0x100107216\nmov     rdi, [rdi+0CC0h]                                               ; +0x9, 0x100107219\nmov     rax, [rdi]                                                     ; +0x10, 0x100107220\ncall    qword ptr [rax+200h]                                           ; +0x13, 0x100107223\ntest    rax, rax                                                       ; +0x19, 0x100107229\njnz     short loc_10010726B                                            ; +0x1c, 0x10010722c\nmov     rdi, [rbx+0CB8h]                                               ; +0x1e, 0x10010722e\nmov     rax, [rdi]                                                     ; +0x25, 0x100107235\ncall    qword ptr [rax+200h]                                           ; +0x28, 0x100107238\nmov     rsi, [rbx+0CC0h]                                               ; +0x2e, 0x10010723e\nmov     rcx, [rax]                                                     ; +0x35, 0x100107245\nmov     rdi, rax                                                       ; +0x38, 0x100107248\nmov     edx, 3Bh ; ';'                                                 ; +0x3b, 0x10010724b\ncall    qword ptr [rcx+1D0h]                                           ; +0x40, 0x100107250\ncmp     byte ptr [rbx+2FCCh], 0                                        ; +0x46, 0x100107256\njnz     short loc_10010726B                                            ; +0x4d, 0x10010725d\nmov     rdi, [rbx+0CC0h]                                               ; +0x4f, 0x10010725f\ncall    PlayerObject__addAllParticles                                  ; +0x56, 0x100107266\nmov     rsi, [rbx+0CB8h]                                               ; +0x5b, 0x10010726b\nmov     rdi, [rbx+0CC0h]                                               ; +0x62, 0x100107272\nmovzx   edx, byte ptr [rbx+778h]                                       ; +0x69, 0x100107279\nxor     edx, 1                                                         ; +0x70, 0x100107280\nadd     rsp, 8                                                         ; +0x73, 0x100107283\npop     rbx                                                            ; +0x77, 0x100107287\npop     rbp                                                            ; +0x78, 0x100107288\njmp     PlayerObject__spawnFromPlayer                                  ; +0x79, 0x100107289", "xrefs": [], "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"}