{"type": "func", "start": 4297894416, "end": 4297894571, "name": "GJEffectManager::transferPersistentItems", "pseudocode": "// \n// GJEffectManager::transferPersistentItems from 0x1002caa10 to 0x1002caaab (155 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:28:10 +0000\n// \n\nvoid __fastcall GJEffectManager::transferPersistentItems(__int64 a1, __m128 a2)\n{\n  __int64 *v2; // r15\n  float *v3; // rbx\n  int v4; // r12d\n  int *v5; // [rsp+8h] [rbp-38h] BYREF\n  int v6; // [rsp+10h] [rbp-30h] BYREF\n\n  v2 = *(__int64 **)(a1 + 768);\n  if ( v2 )\n  {\n    v3 = (float *)(a1 + 712);\n    do\n    {\n      while ( 1 )\n      {\n        v6 = *((_DWORD *)v2 + 4);\n        v4 = *((_DWORD *)v2 + 5);\n        if ( !v4 )\n          break;\n        v5 = &v6;\n        *((_DWORD *)sub_10001C2C0(v3, &v6, a2, (__int64)&unk_100A07A2E, &v5) + 5) = v4;\n        v2 = (__int64 *)*v2;\n        if ( !v2 )\n          return;\n      }\n      sub_10001C120((__int64 *)v3, &v6);\n      v2 = (__int64 *)*v2;\n    }\n    while ( v2 );\n  }\n}", "assembly": "; \n; GJEffectManager::transferPersistentItems from 0x1002caa10 to 0x1002caaab (155 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:28:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002caa10\nmov     rbp, rsp                                                       ; +0x1, 0x1002caa11\npush    r15                                                            ; +0x4, 0x1002caa14\npush    r14                                                            ; +0x6, 0x1002caa16\npush    r13                                                            ; +0x8, 0x1002caa18\npush    r12                                                            ; +0xa, 0x1002caa1a\npush    rbx                                                            ; +0xc, 0x1002caa1c\nsub     rsp, 18h                                                       ; +0xd, 0x1002caa1d\nmov     r15, [rdi+300h]                                                ; +0x11, 0x1002caa21\ntest    r15, r15                                                       ; +0x18, 0x1002caa28\njz      short loc_1002CAA9C                                            ; +0x1b, 0x1002caa2b\nmov     rbx, rdi                                                       ; +0x1d, 0x1002caa2d\nadd     rbx, 2C8h                                                      ; +0x20, 0x1002caa30\nlea     r14, [rbp+var_30]                                              ; +0x27, 0x1002caa37\nlea     r13, [rbp+var_29]                                              ; +0x2b, 0x1002caa3b\njmp     short loc_1002CAA79                                            ; +0x2f, 0x1002caa3f\nalign 10h                                                              ; +0x31, 0x1002caa41\nmov     [rbp+var_38], r14                                              ; +0x40, 0x1002caa50\nmov     rdi, rbx                                                       ; +0x44, 0x1002caa54\nmov     rsi, r14                                                       ; +0x47, 0x1002caa57\nlea     rdx, unk_100A07A2E                                             ; +0x4a, 0x1002caa5a\nlea     rcx, [rbp+var_38]                                              ; +0x51, 0x1002caa61\nmov     r8, r13                                                        ; +0x55, 0x1002caa65\ncall    sub_10001C2C0                                                  ; +0x58, 0x1002caa68\nmov     [rax+14h], r12d                                                ; +0x5d, 0x1002caa6d\nmov     r15, [r15]                                                     ; +0x61, 0x1002caa71\ntest    r15, r15                                                       ; +0x64, 0x1002caa74\njz      short loc_1002CAA9C                                            ; +0x67, 0x1002caa77\nmov     eax, [r15+10h]                                                 ; +0x69, 0x1002caa79\nmov     [rbp+var_30], eax                                              ; +0x6d, 0x1002caa7d\nmov     r12d, [r15+14h]                                                ; +0x70, 0x1002caa80\ntest    r12d, r12d                                                     ; +0x74, 0x1002caa84\njnz     short loc_1002CAA50                                            ; +0x77, 0x1002caa87\nmov     rdi, rbx                                                       ; +0x79, 0x1002caa89\nmov     rsi, r14                                                       ; +0x7c, 0x1002caa8c\ncall    sub_10001C120                                                  ; +0x7f, 0x1002caa8f\nmov     r15, [r15]                                                     ; +0x84, 0x1002caa94\ntest    r15, r15                                                       ; +0x87, 0x1002caa97\njnz     short loc_1002CAA79                                            ; +0x8a, 0x1002caa9a\nadd     rsp, 18h                                                       ; +0x8c, 0x1002caa9c\npop     rbx                                                            ; +0x90, 0x1002caaa0\npop     r12                                                            ; +0x91, 0x1002caaa1\npop     r13                                                            ; +0x93, 0x1002caaa3\npop     r14                                                            ; +0x95, 0x1002caaa5\npop     r15                                                            ; +0x97, 0x1002caaa7\npop     rbp                                                            ; +0x99, 0x1002caaa9\nretn                                                                   ; +0x9a, 0x1002caaaa", "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"}