{"type": "func", "start": 4296169312, "end": 4296169436, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x100125760 to 0x1001257dc (124 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:40 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::rotateObject(float a1, __int64 a2, __int64 a3)\n{\n  __int64 result; // rax\n\n  if ( a1 != 0.0 && *(_BYTE *)(a3 + 868) == 1 )\n  {\n    *(float *)(a3 + 676) = *(float *)(a3 + 676) + a1;\n    *(float *)(a3 + 684) = *(float *)(a3 + 684) + a1;\n    result = sub_10068D530(a3);\n    if ( *(_DWORD *)(a3 + 920) != 7 )\n    {\n      *(_WORD *)(a3 + 864) = 257;\n      if ( !*(_BYTE *)(a3 + 744) )\n        return GameObject::calculateOrientedBox(a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::rotateObject from 0x100125760 to 0x1001257dc (124 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:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x100125760\nmov     rbp, rsp                                                       ; +0x1, 0x100125761\npush    rbx                                                            ; +0x4, 0x100125764\npush    rax                                                            ; +0x5, 0x100125765\nxorps   xmm1, xmm1                                                     ; +0x6, 0x100125766\nucomiss xmm0, xmm1                                                     ; +0x9, 0x100125769\njnz     short loc_100125770                                            ; +0xc, 0x10012576c\njnp     short loc_1001257CA                                            ; +0xe, 0x10012576e\ncmp     byte ptr [rsi+364h], 1                                         ; +0x10, 0x100125770\njnz     short loc_1001257CA                                            ; +0x17, 0x100125777\nmovss   xmm1, dword ptr [rsi+2A4h]                                     ; +0x19, 0x100125779\naddss   xmm1, xmm0                                                     ; +0x21, 0x100125781\nmovss   dword ptr [rsi+2A4h], xmm1                                     ; +0x25, 0x100125785\nmovss   xmm1, dword ptr [rsi+2ACh]                                     ; +0x2d, 0x10012578d\naddss   xmm1, xmm0                                                     ; +0x35, 0x100125795\nmovss   dword ptr [rsi+2ACh], xmm1                                     ; +0x39, 0x100125799\nmov     rdi, rsi                                                       ; +0x41, 0x1001257a1\nmov     rbx, rsi                                                       ; +0x44, 0x1001257a4\ncall    sub_10068D530                                                  ; +0x47, 0x1001257a7\ncmp     dword ptr [rbx+398h], 7                                        ; +0x4c, 0x1001257ac\njz      short loc_1001257CA                                            ; +0x53, 0x1001257b3\nmov     rdi, rbx                                                       ; +0x55, 0x1001257b5\nmov     word ptr [rbx+360h], 101h                                      ; +0x58, 0x1001257b8\ncmp     byte ptr [rbx+2E8h], 0                                         ; +0x61, 0x1001257c1\njz      short loc_1001257D1                                            ; +0x68, 0x1001257c8\nadd     rsp, 8                                                         ; +0x6a, 0x1001257ca\npop     rbx                                                            ; +0x6e, 0x1001257ce\npop     rbp                                                            ; +0x6f, 0x1001257cf\nretn                                                                   ; +0x70, 0x1001257d0\nadd     rsp, 8                                                         ; +0x71, 0x1001257d1\npop     rbx                                                            ; +0x75, 0x1001257d5\npop     rbp                                                            ; +0x76, 0x1001257d6\njmp     GameObject__calculateOrientedBox                               ; +0x77, 0x1001257d7", "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"}