{"type": "func", "start": 5370378320, "end": 5370378475, "name": "GameObject::getObjectRect2", "pseudocode": "// \n// GameObject::getObjectRect2 from 0x140197850 to 0x1401978eb (155 bytes)\n// \n// 47 xrefs:\n// > <???> @ 0x140556848\n// > <???> @ 0x140556fb8\n// > <???> @ 0x14055dff0\n// > <???> @ 0x14055e670\n// > <???> @ 0x1405c8708\n// > <???> @ 0x14060d898\n// > <???> @ 0x14060e1e8\n// > <???> @ 0x14060e908\n// > <???> @ 0x14060f140\n// > <???> @ 0x14060f7e8\n// > <???> @ 0x14060feb8\n// > <???> @ 0x140610570\n// > <???> @ 0x140610cb8\n// > <???> @ 0x140611518\n// > <???> @ 0x140611c50\n// > <???> @ 0x140612438\n// > <???> @ 0x140612ae0\n// > <???> @ 0x140613188\n// > <???> @ 0x1406138f8\n// > <???> @ 0x140613fa0\n// > <???> @ 0x140614788\n// > <???> @ 0x140614fc0\n// > <???> @ 0x140615708\n// > <???> @ 0x140615db0\n// > <???> @ 0x1406164f8\n// > <???> @ 0x140616cb8\n// > <???> @ 0x140617360\n// > <???> @ 0x140617a08\n// > <???> @ 0x140618178\n// > <???> @ 0x140618820\n// > <???> @ 0x140618f68\n// > <???> @ 0x140619a08\n// > <???> @ 0x14061a0b0\n// > <???> @ 0x14061a758\n// > <???> @ 0x14061ae78\n// > <???> @ 0x14061b520\n// > <???> @ 0x14061bc68\n// > <???> @ 0x14061c400\n// > <???> @ 0x14061caa8\n// > <???> @ 0x14061d150\n// > <???> @ 0x14061d7f8\n// > <???> @ 0x14061dea0\n// > <???> @ 0x14061e548\n// > <???> @ 0x14061ebf0\n// > <???> @ 0x14061f400\n// > <???> @ 0x14061fb98\n// > <???> @ 0x1406cba6c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nconst cocos2d::CCRect *GameObject::getObjectRect2(GameObject *a1, float a2, float a3)\n{\n  bool v5; // zf\n  _BYTE *v6; // rdx\n  cocos2d::CCRect *p_m_objectRect; // rdi\n  _BYTE v8[24]; // [rsp+20h] [rbp-18h] BYREF\n\n  if ( !a1->m_isObjectRectDirty )\n    return &a1->m_objectRect;\n  v5 = !a1->m_shouldUseOuterOb;\n  a1->m_isObjectRectDirty = 0;\n  if ( v5 )\n  {\n    p_m_objectRect = &a1->m_objectRect;\n    v6 = (_BYTE *)((__int64 (__fastcall *)(GameObject *, _BYTE *))a1->getObjectRect)(a1, v8);\n  }\n  else\n  {\n    if ( a1->m_isOrientedBoxDirty )\n      a1->updateOrientedBox(a1);\n    OBB2D::getBoundingRect((cocos2d::CCRect *)a1->m_orientedBox, (OBB2D *)v8);\n    v6 = v8;\n    p_m_objectRect = &a1->m_objectRect;\n  }\n  cocos2d::CCRect::operator=(p_m_objectRect, v6);\n  return p_m_objectRect;\n}", "assembly": "; \n; GameObject::getObjectRect2 from 0x140197850 to 0x1401978eb (155 bytes)\n; \n; 47 xrefs:\n; > <???> @ 0x140556848\n; > <???> @ 0x140556fb8\n; > <???> @ 0x14055dff0\n; > <???> @ 0x14055e670\n; > <???> @ 0x1405c8708\n; > <???> @ 0x14060d898\n; > <???> @ 0x14060e1e8\n; > <???> @ 0x14060e908\n; > <???> @ 0x14060f140\n; > <???> @ 0x14060f7e8\n; > <???> @ 0x14060feb8\n; > <???> @ 0x140610570\n; > <???> @ 0x140610cb8\n; > <???> @ 0x140611518\n; > <???> @ 0x140611c50\n; > <???> @ 0x140612438\n; > <???> @ 0x140612ae0\n; > <???> @ 0x140613188\n; > <???> @ 0x1406138f8\n; > <???> @ 0x140613fa0\n; > <???> @ 0x140614788\n; > <???> @ 0x140614fc0\n; > <???> @ 0x140615708\n; > <???> @ 0x140615db0\n; > <???> @ 0x1406164f8\n; > <???> @ 0x140616cb8\n; > <???> @ 0x140617360\n; > <???> @ 0x140617a08\n; > <???> @ 0x140618178\n; > <???> @ 0x140618820\n; > <???> @ 0x140618f68\n; > <???> @ 0x140619a08\n; > <???> @ 0x14061a0b0\n; > <???> @ 0x14061a758\n; > <???> @ 0x14061ae78\n; > <???> @ 0x14061b520\n; > <???> @ 0x14061bc68\n; > <???> @ 0x14061c400\n; > <???> @ 0x14061caa8\n; > <???> @ 0x14061d150\n; > <???> @ 0x14061d7f8\n; > <???> @ 0x14061dea0\n; > <???> @ 0x14061e548\n; > <???> @ 0x14061ebf0\n; > <???> @ 0x14061f400\n; > <???> @ 0x14061fb98\n; > <???> @ 0x1406cba6c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140197850\nsub     rsp, 30h                                                       ; +0x2, 0x140197852\ncmp     byte ptr [rcx+368h], 0                                         ; +0x6, 0x140197856\nmov     rbx, rcx                                                       ; +0xd, 0x14019785d\njnz     short loc_14019786F                                            ; +0x10, 0x140197860\nlea     rax, [rcx+358h]                                                ; +0x12, 0x140197862\nadd     rsp, 30h                                                       ; +0x19, 0x140197869\npop     rbx                                                            ; +0x1d, 0x14019786d\nretn                                                                   ; +0x1e, 0x14019786e\ncmp     byte ptr [rcx+2E8h], 0                                         ; +0x1f, 0x14019786f\nmov     [rsp+38h+arg_0], rdi                                           ; +0x26, 0x140197876\nmov     byte ptr [rcx+368h], 0                                         ; +0x2b, 0x14019787b\njz      short loc_1401978B5                                            ; +0x32, 0x140197882\ncmp     byte ptr [rcx+369h], 0                                         ; +0x34, 0x140197884\njz      short loc_140197896                                            ; +0x3b, 0x14019788b\nmov     rax, [rcx]                                                     ; +0x3d, 0x14019788d\ncall    qword ptr [rax+578h]                                           ; +0x40, 0x140197890\nmov     rcx, [rbx+2E0h]                                                ; +0x46, 0x140197896\nlea     rdx, [rsp+38h+var_18]                                          ; +0x4d, 0x14019789d\ncall    OBB2D__getBoundingRect                                         ; +0x52, 0x1401978a2\nlea     rdx, [rsp+38h+var_18]                                          ; +0x57, 0x1401978a7\nlea     rdi, [rbx+358h]                                                ; +0x5c, 0x1401978ac\njmp     short loc_1401978D4                                            ; +0x63, 0x1401978b3\nmov     r8, [rcx]                                                      ; +0x65, 0x1401978b5\nlea     rdx, [rsp+38h+var_18]                                          ; +0x68, 0x1401978b8\nmovaps  xmm3, xmm2                                                     ; +0x6d, 0x1401978bd\nlea     rdi, [rcx+358h]                                                ; +0x70, 0x1401978c0\nmovaps  xmm2, xmm1                                                     ; +0x77, 0x1401978c7\ncall    qword ptr [r8+488h]                                            ; +0x7a, 0x1401978ca\nmov     rdx, rax                                                       ; +0x81, 0x1401978d1\nmov     rcx, rdi                                                       ; +0x84, 0x1401978d4\ncall    cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x87, 0x1401978d7\nmov     rax, rdi                                                       ; +0x8d, 0x1401978dd\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x90, 0x1401978e0\nadd     rsp, 30h                                                       ; +0x95, 0x1401978e5\npop     rbx                                                            ; +0x99, 0x1401978e9\nretn                                                                   ; +0x9a, 0x1401978ea", "xrefs": ["<???> @ 0x140556848", "<???> @ 0x140556fb8", "<???> @ 0x14055dff0", "<???> @ 0x14055e670", "<???> @ 0x1405c8708", "<???> @ 0x14060d898", "<???> @ 0x14060e1e8", "<???> @ 0x14060e908", "<???> @ 0x14060f140", "<???> @ 0x14060f7e8", "<???> @ 0x14060feb8", "<???> @ 0x140610570", "<???> @ 0x140610cb8", "<???> @ 0x140611518", "<???> @ 0x140611c50", "<???> @ 0x140612438", "<???> @ 0x140612ae0", "<???> @ 0x140613188", "<???> @ 0x1406138f8", "<???> @ 0x140613fa0", "<???> @ 0x140614788", "<???> @ 0x140614fc0", "<???> @ 0x140615708", "<???> @ 0x140615db0", "<???> @ 0x1406164f8", "<???> @ 0x140616cb8", "<???> @ 0x140617360", "<???> @ 0x140617a08", "<???> @ 0x140618178", "<???> @ 0x140618820", "<???> @ 0x140618f68", "<???> @ 0x140619a08", "<???> @ 0x14061a0b0", "<???> @ 0x14061a758", "<???> @ 0x14061ae78", "<???> @ 0x14061b520", "<???> @ 0x14061bc68", "<???> @ 0x14061c400", "<???> @ 0x14061caa8", "<???> @ 0x14061d150", "<???> @ 0x14061d7f8", "<???> @ 0x14061dea0", "<???> @ 0x14061e548", "<???> @ 0x14061ebf0", "<???> @ 0x14061f400", "<???> @ 0x14061fb98", "<???> @ 0x1406cba6c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}