{"type": "func", "start": 4297591072, "end": 4297591172, "name": "GJBaseGameLayer::updateOBB2", "pseudocode": "// \n// GJBaseGameLayer::updateOBB2 from 0x100280920 to 0x100280984 (100 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::damagingObjectsInRect @ 0x100280570\n// > LevelEditorLayer::objectsInRect @ 0x1003fa848\n// > LevelEditorLayer::objectAtPosition @ 0x1003fabb0\n// > LevelEditorLayer::objectsAtPosition @ 0x1003fb1ec\n// \n// This function is hookable on this platform (idp: arm, 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 11:01:55 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateOBB2(__int64 a1, float32x2_t *a2)\n{\n  _QWORD *v3; // x20\n  float32x2_t v5; // [xsp+0h] [xbp-20h] BYREF\n  float32x2_t v6; // [xsp+8h] [xbp-18h] BYREF\n\n  v3 = *(_QWORD **)(a1 + 2080);\n  sub_1000262BC((float *)&v5, a2[1].f32[0] * 0.5, a2[1].f32[1] * 0.5);\n  sub_100026318(a2, &v5, &v6);\n  return OBB2D::calculateWithCenter(v3, (double *)&v6, a2[1].f32[0], a2[1].f32[1], 0.0);\n}", "assembly": "; \n; GJBaseGameLayer::updateOBB2 from 0x100280920 to 0x100280984 (100 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::damagingObjectsInRect @ 0x100280570\n; > LevelEditorLayer::objectsInRect @ 0x1003fa848\n; > LevelEditorLayer::objectAtPosition @ 0x1003fabb0\n; > LevelEditorLayer::objectsAtPosition @ 0x1003fb1ec\n; \n; This function is hookable on this platform (idp: arm, 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 11:01:55 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x100280920\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100280924\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100280928\nADD             X29, SP, #0x20                                         ; +0xc, 0x10028092c\nMOV             X19, X1                                                ; +0x10, 0x100280930\nLDR             X20, [X0,#0x820]                                       ; +0x14, 0x100280934\nFMOV            S1, #0.5                                               ; +0x18, 0x100280938\nLDP             S0, S2, [X1,#8]                                        ; +0x1c, 0x10028093c\nFMUL            S0, S0, S1                                             ; +0x20, 0x100280940\nFMUL            S1, S2, S1                                             ; +0x24, 0x100280944\nMOV             X0, SP                                                 ; +0x28, 0x100280948\nBL              sub_1000262BC                                          ; +0x2c, 0x10028094c\nADD             X8, SP, #0x20+var_18                                   ; +0x30, 0x100280950\nMOV             X1, SP                                                 ; +0x34, 0x100280954\nMOV             X0, X19                                                ; +0x38, 0x100280958\nBL              sub_100026318                                          ; +0x3c, 0x10028095c\nLDP             S0, S1, [X19,#8]                                       ; +0x40, 0x100280960\nADD             X1, SP, #0x20+var_18                                   ; +0x44, 0x100280964\nFMOV            S2, WZR                                                ; +0x48, 0x100280968\nMOV             X0, X20                                                ; +0x4c, 0x10028096c\nBL              OBB2D__calculateWithCenter                             ; +0x50, 0x100280970\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x100280974\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x100280978\nADD             SP, SP, #0x30 ; '0'                                    ; +0x5c, 0x10028097c\nRET                                                                    ; +0x60, 0x100280980", "xrefs": ["GJBaseGameLayer::damagingObjectsInRect @ 0x100280570", "LevelEditorLayer::objectsInRect @ 0x1003fa848", "LevelEditorLayer::objectAtPosition @ 0x1003fabb0", "LevelEditorLayer::objectsAtPosition @ 0x1003fb1ec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}