{"type": "func", "start": 4296015312, "end": 4296015428, "name": "GJBaseGameLayer::updateOBB2", "pseudocode": "// \n// GJBaseGameLayer::updateOBB2 from 0x1000ffdd0 to 0x1000ffe44 (116 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::objectsInRect @ 0x1000b049c\n// > LevelEditorLayer::objectAtPosition @ 0x1000b0a2d\n// > LevelEditorLayer::objectsAtPosition @ 0x1000b11ad\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:20 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateOBB2(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rbx\n  _BYTE v4[8]; // [rsp+0h] [rbp-30h] BYREF\n  _BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 2080);\n  sub_100278250(v5, *(float *)(a2 + 8) * 0.5, 0.5 * *(float *)(a2 + 12));\n  sub_100278350(v4, a2, v5);\n  return OBB2D::calculateWithCenter(v2, v4, *(float *)(a2 + 8), *(float *)(a2 + 12), 0.0);\n}", "assembly": "; \n; GJBaseGameLayer::updateOBB2 from 0x1000ffdd0 to 0x1000ffe44 (116 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::objectsInRect @ 0x1000b049c\n; > LevelEditorLayer::objectAtPosition @ 0x1000b0a2d\n; > LevelEditorLayer::objectsAtPosition @ 0x1000b11ad\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:20 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000ffdd0\nmov     rbp, rsp                                                       ; +0x1, 0x1000ffdd1\npush    r15                                                            ; +0x4, 0x1000ffdd4\npush    r14                                                            ; +0x6, 0x1000ffdd6\npush    r12                                                            ; +0x8, 0x1000ffdd8\npush    rbx                                                            ; +0xa, 0x1000ffdda\nsub     rsp, 10h                                                       ; +0xb, 0x1000ffddb\nmov     r14, rsi                                                       ; +0xf, 0x1000ffddf\nmov     rbx, [rdi+820h]                                                ; +0x12, 0x1000ffde2\nmovss   xmm1, cs:dword_100A03578                                       ; +0x19, 0x1000ffde9\nmovss   xmm0, dword ptr [rsi+8]                                        ; +0x21, 0x1000ffdf1\nmulss   xmm0, xmm1                                                     ; +0x26, 0x1000ffdf6\nmulss   xmm1, dword ptr [rsi+0Ch]                                      ; +0x2a, 0x1000ffdfa\nlea     r15, [rbp+var_28]                                              ; +0x2f, 0x1000ffdff\nmov     rdi, r15                                                       ; +0x33, 0x1000ffe03\ncall    sub_100278250                                                  ; +0x36, 0x1000ffe06\nlea     r12, [rbp+var_30]                                              ; +0x3b, 0x1000ffe0b\nmov     rdi, r12                                                       ; +0x3f, 0x1000ffe0f\nmov     rsi, r14                                                       ; +0x42, 0x1000ffe12\nmov     rdx, r15                                                       ; +0x45, 0x1000ffe15\ncall    sub_100278350                                                  ; +0x48, 0x1000ffe18\nmovss   xmm0, dword ptr [r14+8]                                        ; +0x4d, 0x1000ffe1d\nmovss   xmm1, dword ptr [r14+0Ch]                                      ; +0x53, 0x1000ffe23\nxorps   xmm2, xmm2                                                     ; +0x59, 0x1000ffe29\nmov     rdi, rbx                                                       ; +0x5c, 0x1000ffe2c\nmov     rsi, r12                                                       ; +0x5f, 0x1000ffe2f\ncall    OBB2D__calculateWithCenter                                     ; +0x62, 0x1000ffe32\nadd     rsp, 10h                                                       ; +0x67, 0x1000ffe37\npop     rbx                                                            ; +0x6b, 0x1000ffe3b\npop     r12                                                            ; +0x6c, 0x1000ffe3c\npop     r14                                                            ; +0x6e, 0x1000ffe3e\npop     r15                                                            ; +0x70, 0x1000ffe40\npop     rbp                                                            ; +0x72, 0x1000ffe42\nretn                                                                   ; +0x73, 0x1000ffe43", "xrefs": ["LevelEditorLayer::objectsInRect @ 0x1000b049c", "LevelEditorLayer::objectAtPosition @ 0x1000b0a2d", "LevelEditorLayer::objectsAtPosition @ 0x1000b11ad"], "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"}