{"type": "func", "start": 4296104352, "end": 4296104510, "name": "GJBaseGameLayer::getRotateCommandTargets", "pseudocode": "// \n// GJBaseGameLayer::getRotateCommandTargets from 0x1001159a0 to 0x100115a3e (158 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:24:33 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::getRotateCommandTargets(\n        __int64 a1,\n        __int64 a2,\n        __int64 *a3,\n        __int64 *a4,\n        __int64 *a5,\n        __m128 a6)\n{\n  int v9; // esi\n  __int64 result; // rax\n\n  v9 = *(_DWORD *)(a2 + 1468);\n  if ( !v9 )\n    v9 = *(_DWORD *)(a2 + 1464);\n  *a3 = GJBaseGameLayer::tryGetObject(a1, v9, a6);\n  *a4 = GJBaseGameLayer::tryGetObject(a1, *(_DWORD *)(a2 + 1464), a6);\n  if ( *(_BYTE *)(a2 + 1684) )\n    goto LABEL_4;\n  if ( *(_BYTE *)(a2 + 1685) != 1 )\n  {\n    result = GJBaseGameLayer::tryGetObject(a1, *(_DWORD *)(a2 + 1556), a6);\n    goto LABEL_9;\n  }\n  if ( !*(_BYTE *)(a1 + 1010) )\nLABEL_4:\n    result = *(_QWORD *)(a1 + 3256);\n  else\n    result = *(_QWORD *)(a1 + 3264);\nLABEL_9:\n  *a5 = result;\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::getRotateCommandTargets from 0x1001159a0 to 0x100115a3e (158 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:24:33 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001159a0\nmov     rbp, rsp                                                       ; +0x1, 0x1001159a1\npush    r15                                                            ; +0x4, 0x1001159a4\npush    r14                                                            ; +0x6, 0x1001159a6\npush    r13                                                            ; +0x8, 0x1001159a8\npush    r12                                                            ; +0xa, 0x1001159aa\npush    rbx                                                            ; +0xc, 0x1001159ac\npush    rax                                                            ; +0xd, 0x1001159ad\nmov     rbx, r8                                                        ; +0xe, 0x1001159ae\nmov     r12, rcx                                                       ; +0x11, 0x1001159b1\nmov     r13, rdx                                                       ; +0x14, 0x1001159b4\nmov     r15, rsi                                                       ; +0x17, 0x1001159b7\nmov     r14, rdi                                                       ; +0x1a, 0x1001159ba\nmov     esi, [rsi+5BCh]                                                ; +0x1d, 0x1001159bd\ntest    esi, esi                                                       ; +0x23, 0x1001159c3\njnz     short loc_1001159CE                                            ; +0x25, 0x1001159c5\nmov     esi, [r15+5B8h]                                                ; +0x27, 0x1001159c7\nmov     rdi, r14                                                       ; +0x2e, 0x1001159ce\ncall    GJBaseGameLayer__tryGetObject                                  ; +0x31, 0x1001159d1\nmov     [r13+0], rax                                                   ; +0x36, 0x1001159d6\nmov     esi, [r15+5B8h]                                                ; +0x3a, 0x1001159da\nmov     rdi, r14                                                       ; +0x41, 0x1001159e1\ncall    GJBaseGameLayer__tryGetObject                                  ; +0x44, 0x1001159e4\nmov     [r12], rax                                                     ; +0x49, 0x1001159e9\ncmp     byte ptr [r15+694h], 0                                         ; +0x4d, 0x1001159ed\njz      short loc_100115A00                                            ; +0x55, 0x1001159f5\nmov     rax, [r14+0CB8h]                                               ; +0x57, 0x1001159f7\njmp     short loc_100115A2C                                            ; +0x5e, 0x1001159fe\ncmp     byte ptr [r15+695h], 1                                         ; +0x60, 0x100115a00\njnz     short loc_100115A1D                                            ; +0x68, 0x100115a08\ncmp     byte ptr [r14+3F2h], 0                                         ; +0x6a, 0x100115a0a\njz      short loc_1001159F7                                            ; +0x72, 0x100115a12\nmov     rax, [r14+0CC0h]                                               ; +0x74, 0x100115a14\njmp     short loc_100115A2C                                            ; +0x7b, 0x100115a1b\nmov     esi, [r15+614h]                                                ; +0x7d, 0x100115a1d\nmov     rdi, r14                                                       ; +0x84, 0x100115a24\ncall    GJBaseGameLayer__tryGetObject                                  ; +0x87, 0x100115a27\nmov     [rbx], rax                                                     ; +0x8c, 0x100115a2c\nadd     rsp, 8                                                         ; +0x8f, 0x100115a2f\npop     rbx                                                            ; +0x93, 0x100115a33\npop     r12                                                            ; +0x94, 0x100115a34\npop     r13                                                            ; +0x96, 0x100115a36\npop     r14                                                            ; +0x98, 0x100115a38\npop     r15                                                            ; +0x9a, 0x100115a3a\npop     rbp                                                            ; +0x9c, 0x100115a3c\nretn                                                                   ; +0x9d, 0x100115a3d", "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"}