{"type": "func", "start": 5371455200, "end": 5371455513, "name": "GameObject::getBoxOffset", "pseudocode": "// \n// GameObject::getBoxOffset from 0x14029e6e0 to 0x14029e819 (313 bytes)\n// \n// 4 xrefs:\n// > GameObject::getObjectRect @ 0x140294901\n// > GameObject::updateOrientedBox @ 0x14029e49b\n// > GameObject::updateOrientedBox @ 0x14029e55e\n// > <???> @ 0x14091d8f4\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 11:29:14 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GameObject::getBoxOffset(__int64 a1)\n{\n  __int64 v3; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rax\n  __int64 v6; // rax\n  void *v7; // [rsp+40h] [rbp+8h] BYREF\n  char v8; // [rsp+48h] [rbp+10h] BYREF\n  char v9; // [rsp+50h] [rbp+18h] BYREF\n  char v10; // [rsp+58h] [rbp+20h] BYREF\n\n  if ( cocos2d::CCPoint::equals((cocos2d::CCPoint *)(a1 + 716), (const struct cocos2d::CCPoint *)&unk_14090A8F0) )\n    return a1 + 716;\n  v3 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v7 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v3 = qword_14090BFD0;\n  }\n  if ( *(_BYTE *)(v3 + 738) || *(_BYTE *)(a1 + 724) )\n  {\n    cocos2d::CCNode::convertToWorldSpace(a1, &v8, a1 + 716);\n    cocos2d::CCNode::convertToWorldSpace(a1, &v7, &unk_14090A8F0);\n    v4 = *(_QWORD *)(a1 + 216);\n    if ( v4 )\n    {\n      cocos2d::CCNode::convertToNodeSpace(v4, &v10, &v8);\n      cocos2d::CCPoint::operator=(&v8, v5);\n      cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 216), &v10, &v7);\n      cocos2d::CCPoint::operator=(&v7, v6);\n    }\n    cocos2d::CCPoint::operator-(&v8, &v9, &v7);\n    *(_BYTE *)(a1 + 724) = 0;\n    cocos2d::CCPoint::operator=(a1 + 728, &v9);\n  }\n  return a1 + 728;\n}", "assembly": "; \n; GameObject::getBoxOffset from 0x14029e6e0 to 0x14029e819 (313 bytes)\n; \n; 4 xrefs:\n; > GameObject::getObjectRect @ 0x140294901\n; > GameObject::updateOrientedBox @ 0x14029e49b\n; > GameObject::updateOrientedBox @ 0x14029e55e\n; > <???> @ 0x14091d8f4\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 11:29:14 +0000\n; \npush    rbx                                                            ; +0x0, 0x14029e6e0\npush    rdi                                                            ; +0x2, 0x14029e6e2\nsub     rsp, 28h                                                       ; +0x3, 0x14029e6e3\nmov     rbx, rcx                                                       ; +0x7, 0x14029e6e7\nlea     rdx, unk_14090A8F0                                             ; +0xa, 0x14029e6ea\nadd     rcx, 2CCh                                                      ; +0x11, 0x14029e6f1\ncall    cs:?equals@CCPoint@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCPoint::equals(cocos2d::CCPoint const &) ; +0x18, 0x14029e6f8\ntest    al, al                                                         ; +0x1e, 0x14029e6fe\njz      short loc_14029E710                                            ; +0x20, 0x14029e700\nlea     rax, [rbx+2CCh]                                                ; +0x22, 0x14029e702\nadd     rsp, 28h                                                       ; +0x29, 0x14029e709\npop     rdi                                                            ; +0x2d, 0x14029e70d\npop     rbx                                                            ; +0x2e, 0x14029e70e\nretn                                                                   ; +0x2f, 0x14029e70f\nmov     rax, cs:qword_14090BFD0                                        ; +0x30, 0x14029e710\ntest    rax, rax                                                       ; +0x37, 0x14029e717\njnz     short loc_14029E74E                                            ; +0x3a, 0x14029e71a\nmov     ecx, 6E8h; Size                                                ; +0x3c, 0x14029e71c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41, 0x14029e721\nmov     [rsp+38h+arg_0], rax                                           ; +0x46, 0x14029e726\nmov     rcx, rax                                                       ; +0x4b, 0x14029e72b\ncall    GameManager__GameManager                                       ; +0x4e, 0x14029e72e\nnop                                                                    ; +0x53, 0x14029e733\nmov     cs:qword_14090BFD0, rax                                        ; +0x54, 0x14029e734\nmov     rcx, [rax]                                                     ; +0x5b, 0x14029e73b\nmov     rdx, [rcx+48h]                                                 ; +0x5e, 0x14029e73e\nmov     rcx, rax                                                       ; +0x62, 0x14029e742\ncall    rdx                                                            ; +0x65, 0x14029e745\nmov     rax, cs:qword_14090BFD0                                        ; +0x67, 0x14029e747\ncmp     byte ptr [rax+2E2h], 0                                         ; +0x6e, 0x14029e74e\njnz     short loc_14029E764                                            ; +0x75, 0x14029e755\ncmp     byte ptr [rbx+2D4h], 0                                         ; +0x77, 0x14029e757\njz      loc_14029E80B                                                  ; +0x7e, 0x14029e75e\nlea     r8, [rbx+2CCh]                                                 ; +0x84, 0x14029e764\nlea     rdx, [rsp+38h+arg_8]                                           ; +0x8b, 0x14029e76b\nmov     rcx, rbx                                                       ; +0x90, 0x14029e770\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x93, 0x14029e773\nlea     r8, unk_14090A8F0                                              ; +0x99, 0x14029e779\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xa0, 0x14029e780\nmov     rcx, rbx                                                       ; +0xa5, 0x14029e785\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0xa8, 0x14029e788\nmov     rcx, [rbx+0D8h]                                                ; +0xae, 0x14029e78e\ntest    rcx, rcx                                                       ; +0xb5, 0x14029e795\njz      short loc_14029E7DD                                            ; +0xb8, 0x14029e798\nlea     r8, [rsp+38h+arg_8]                                            ; +0xba, 0x14029e79a\nlea     rdx, [rsp+38h+arg_18]                                          ; +0xbf, 0x14029e79f\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xc4, 0x14029e7a4\nmov     rdx, rax                                                       ; +0xca, 0x14029e7aa\nlea     rcx, [rsp+38h+arg_8]                                           ; +0xcd, 0x14029e7ad\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd2, 0x14029e7b2\nlea     r8, [rsp+38h+arg_0]                                            ; +0xd8, 0x14029e7b8\nlea     rdx, [rsp+38h+arg_18]                                          ; +0xdd, 0x14029e7bd\nmov     rcx, [rbx+0D8h]                                                ; +0xe2, 0x14029e7c2\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xe9, 0x14029e7c9\nmov     rdx, rax                                                       ; +0xef, 0x14029e7cf\nlea     rcx, [rsp+38h+arg_0]                                           ; +0xf2, 0x14029e7d2\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf7, 0x14029e7d7\nlea     r8, [rsp+38h+arg_0]                                            ; +0xfd, 0x14029e7dd\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x102, 0x14029e7e2\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x107, 0x14029e7e7\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x10c, 0x14029e7ec\nmov     byte ptr [rbx+2D4h], 0                                         ; +0x112, 0x14029e7f2\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x119, 0x14029e7f9\nlea     rcx, [rbx+2D8h]                                                ; +0x11e, 0x14029e7fe\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x125, 0x14029e805\nlea     rax, [rbx+2D8h]                                                ; +0x12b, 0x14029e80b\nadd     rsp, 28h                                                       ; +0x132, 0x14029e812\npop     rdi                                                            ; +0x136, 0x14029e816\npop     rbx                                                            ; +0x137, 0x14029e817\nretn                                                                   ; +0x138, 0x14029e818", "xrefs": ["GameObject::getObjectRect @ 0x140294901", "GameObject::updateOrientedBox @ 0x14029e49b", "GameObject::updateOrientedBox @ 0x14029e55e", "<???> @ 0x14091d8f4"], "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"}