{"type": "func", "start": 4296095536, "end": 4296095686, "name": "GJBaseGameLayer::activateCustomRing", "pseudocode": "// \n// GJBaseGameLayer::activateCustomRing from 0x100113730 to 0x1001137c6 (150 bytes)\n// \n// 1 xrefs:\n// > PlayerObject::ringJump @ 0x100401769\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:24:33 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::activateCustomRing(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rsi\n  __int64 v4; // rdx\n  void *__p[2]; // [rsp+0h] [rbp-20h] BYREF\n  __int64 v6; // [rsp+10h] [rbp-10h]\n\n  v3 = *(unsigned int *)(a2 + 1464);\n  if ( *(_BYTE *)(a2 + 1841) == 1 )\n  {\n    *(_OWORD *)__p = 0;\n    v6 = 0;\n    (*(void (__fastcall **)(__int64, __int64, _QWORD, void **, _QWORD, _QWORD, double))(*(_QWORD *)a1 + 1256LL))(\n      a1,\n      v3,\n      0,\n      __p,\n      *(unsigned int *)(a2 + 916),\n      *(unsigned int *)(a2 + 1672),\n      0.0);\n  }\n  else\n  {\n    v4 = *(unsigned __int8 *)(a2 + 1637);\n    *(_OWORD *)__p = 0;\n    v6 = 0;\n    (*(void (__fastcall **)(__int64, __int64, __int64, void **, _QWORD, _QWORD))(*(_QWORD *)a1 + 1240LL))(\n      a1,\n      v3,\n      v4,\n      __p,\n      *(unsigned int *)(a2 + 916),\n      *(unsigned int *)(a2 + 1672));\n  }\n  if ( __p[0] )\n  {\n    __p[1] = __p[0];\n    operator delete(__p[0]);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::activateCustomRing from 0x100113730 to 0x1001137c6 (150 bytes)\n; \n; 1 xrefs:\n; > PlayerObject::ringJump @ 0x100401769\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:24:33 +0000\n; \npush    rbp                                                            ; +0x0, 0x100113730\nmov     rbp, rsp                                                       ; +0x1, 0x100113731\npush    rbx                                                            ; +0x4, 0x100113734\nsub     rsp, 18h                                                       ; +0x5, 0x100113735\nmov     rax, rsi                                                       ; +0x9, 0x100113739\nmov     esi, [rsi+5B8h]                                                ; +0xc, 0x10011373c\ncmp     byte ptr [rax+731h], 1                                         ; +0x12, 0x100113742\njnz     short loc_10011377C                                            ; +0x19, 0x100113749\nxorps   xmm0, xmm0                                                     ; +0x1b, 0x10011374b\nmovaps  xmmword ptr [rbp+__p], xmm0                                    ; +0x1e, 0x10011374e\nmov     [rbp+var_10], 0                                                ; +0x22, 0x100113752\nmov     r8d, [rax+394h]                                                ; +0x2a, 0x10011375a\nmov     r9d, [rax+688h]                                                ; +0x31, 0x100113761\nmov     rax, [rdi]                                                     ; +0x38, 0x100113768\nlea     rcx, [rbp+__p]                                                 ; +0x3b, 0x10011376b\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x10011376f\nxor     edx, edx                                                       ; +0x42, 0x100113772\ncall    qword ptr [rax+4E8h]                                           ; +0x44, 0x100113774\njmp     short loc_1001137AD                                            ; +0x4a, 0x10011377a\nmovzx   edx, byte ptr [rax+665h]                                       ; +0x4c, 0x10011377c\nxorps   xmm0, xmm0                                                     ; +0x53, 0x100113783\nmovaps  xmmword ptr [rbp+__p], xmm0                                    ; +0x56, 0x100113786\nmov     [rbp+var_10], 0                                                ; +0x5a, 0x10011378a\nmov     r8d, [rax+394h]                                                ; +0x62, 0x100113792\nmov     r9d, [rax+688h]                                                ; +0x69, 0x100113799\nmov     rax, [rdi]                                                     ; +0x70, 0x1001137a0\nlea     rcx, [rbp+__p]                                                 ; +0x73, 0x1001137a3\ncall    qword ptr [rax+4D8h]                                           ; +0x77, 0x1001137a7\nmov     rdi, [rbp+__p]; __p                                            ; +0x7d, 0x1001137ad\ntest    rdi, rdi                                                       ; +0x81, 0x1001137b1\njz      short loc_1001137BF                                            ; +0x84, 0x1001137b4\nmov     [rbp+__p+8], rdi                                               ; +0x86, 0x1001137b6\ncall    __ZdlPv; operator delete(void *)                               ; +0x8a, 0x1001137ba\nadd     rsp, 18h                                                       ; +0x8f, 0x1001137bf\npop     rbx                                                            ; +0x93, 0x1001137c3\npop     rbp                                                            ; +0x94, 0x1001137c4\nretn                                                                   ; +0x95, 0x1001137c5", "xrefs": ["PlayerObject::ringJump @ 0x100401769"], "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"}