{"type": "func", "start": 5370418992, "end": 5370419140, "name": "GameObject::updateIsOriented", "pseudocode": "// \n// GameObject::updateIsOriented from 0x1401a1730 to 0x1401a17c4 (148 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x1402e0049\n// > PlayLayer::addObject @ 0x1403addb7\n// > <???> @ 0x1406cbf70\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\nvoid GameObject::updateIsOriented(GameObject *a1)\n{\n  GameObjectType m_objectType; // eax\n  int v3; // ecx\n  float v4; // xmm0_4\n  GameObject_vtbl *v5; // rax\n\n  m_objectType = a1->m_objectType;\n  a1->m_shouldUseOuterOb = 0;\n  if ( m_objectType != Decoration )\n  {\n    if ( (unsigned int)m_objectType > Slope || (v3 = 35651585, !_bittest(&v3, m_objectType)) || a1->m_isNoTouch )\n    {\n      v4 = a1->getRotation(a1);\n      if ( (int)v4 != 90 * ((int)v4 / 90) && a1->m_objectRadius <= 0.0 )\n      {\n        v5 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        a1->m_shouldUseOuterOb = 1;\n        v5->updateOrientedBox(a1);\n        a1->getObjectRect_0(a1);\n      }\n    }\n  }\n}", "assembly": "; \n; GameObject::updateIsOriented from 0x1401a1730 to 0x1401a17c4 (148 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x1402e0049\n; > PlayLayer::addObject @ 0x1403addb7\n; > <???> @ 0x1406cbf70\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, 0x1401a1730\nsub     rsp, 20h                                                       ; +0x2, 0x1401a1732\nmov     eax, [rcx+3A0h]                                                ; +0x6, 0x1401a1736\nmov     rbx, rcx                                                       ; +0xc, 0x1401a173c\nmov     byte ptr [rcx+2E8h], 0                                         ; +0xf, 0x1401a173f\ncmp     eax, 7                                                         ; +0x16, 0x1401a1746\njz      short loc_1401A17BE                                            ; +0x19, 0x1401a1749\ncmp     eax, 19h                                                       ; +0x1b, 0x1401a174b\nja      short loc_1401A1763                                            ; +0x1e, 0x1401a174e\nmov     ecx, 2200001h                                                  ; +0x20, 0x1401a1750\nbt      ecx, eax                                                       ; +0x25, 0x1401a1755\njnb     short loc_1401A1763                                            ; +0x28, 0x1401a1758\ncmp     byte ptr [rbx+4C6h], 0                                         ; +0x2a, 0x1401a175a\njz      short loc_1401A17BE                                            ; +0x31, 0x1401a1761\nmov     rax, [rbx]                                                     ; +0x33, 0x1401a1763\nmov     rcx, rbx                                                       ; +0x36, 0x1401a1766\ncall    qword ptr [rax+158h]                                           ; +0x39, 0x1401a1769\ncvttss2si ecx, xmm0                                                    ; +0x3f, 0x1401a176f\nmov     eax, 0B60B60B7h                                                ; +0x43, 0x1401a1773\nimul    ecx                                                            ; +0x48, 0x1401a1778\nadd     edx, ecx                                                       ; +0x4a, 0x1401a177a\nsar     edx, 6                                                         ; +0x4c, 0x1401a177c\nmov     eax, edx                                                       ; +0x4f, 0x1401a177f\nshr     eax, 1Fh                                                       ; +0x51, 0x1401a1781\nadd     edx, eax                                                       ; +0x54, 0x1401a1784\nimul    eax, edx, 5Ah ; 'Z'                                            ; +0x56, 0x1401a1786\ncmp     ecx, eax                                                       ; +0x59, 0x1401a1789\njz      short loc_1401A17BE                                            ; +0x5b, 0x1401a178b\nxorps   xmm0, xmm0                                                     ; +0x5d, 0x1401a178d\ncomiss  xmm0, dword ptr [rbx+38Ch]                                     ; +0x60, 0x1401a1790\njb      short loc_1401A17BE                                            ; +0x67, 0x1401a1797\nmov     rax, [rbx]                                                     ; +0x69, 0x1401a1799\nmov     rcx, rbx                                                       ; +0x6c, 0x1401a179c\nmov     byte ptr [rbx+2E8h], 1                                         ; +0x6f, 0x1401a179f\ncall    qword ptr [rax+578h]                                           ; +0x76, 0x1401a17a6\nmov     rax, [rbx]                                                     ; +0x7c, 0x1401a17ac\nmov     rcx, rbx                                                       ; +0x7f, 0x1401a17af\nadd     rsp, 20h                                                       ; +0x82, 0x1401a17b2\npop     rbx                                                            ; +0x86, 0x1401a17b6\njmp     qword ptr [rax+490h]                                           ; +0x87, 0x1401a17b7\nadd     rsp, 20h                                                       ; +0x8e, 0x1401a17be\npop     rbx                                                            ; +0x92, 0x1401a17c2\nretn                                                                   ; +0x93, 0x1401a17c3", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x1402e0049", "PlayLayer::addObject @ 0x1403addb7", "<???> @ 0x1406cbf70"], "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"}