// // GameObject::updateStartPos from 0x44c610 to 0x44c6ca (186 bytes) // // 10 xrefs: // > GameObject::updateStartValues @ 0x44c6d8 // > LevelEditorLayer::rotationForSlopeNearObject @ 0x460f68 // > LevelEditorLayer::updateVisibility @ 0x462d56 // > EditorUI::findSnapObject @ 0x485070 // > GJTransformControl::loadValues @ 0x6eeda2 // > EditorUI::getGroupCenter @ 0x70d786 // > EditorUI::getGroupCenter @ 0x70d7a2 // > EditorUI::flipObjectsX @ 0x70e1aa // > EditorUI::flipObjectsY @ 0x70e2d2 // > EditorUI::resetObjectEditorValues @ 0x71003c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:34 +0000 // int __fastcall GameObject::updateStartPos(GameObject *this, float a2, float a3, int a4) { const cocos2d::CCPoint *v5; // r0 int result; // r0 float v7; // s7 double v8; // d4 double v9; // d7 float v10; // s12 float v11; // s13 double v12; // d5 float v13; // s14 float v14; // [sp+4h] [bp-Ch] BYREF float v15; // [sp+8h] [bp-8h] int v16; // [sp+Ch] [bp-4h] v14 = a2; v15 = a3; v16 = a4; v5 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 96))(this); result = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, v5); v7 = *((float *)this + 206); v8 = *((double *)this + 101) - v7; v9 = *((double *)this + 102); v10 = v14 - v8; v11 = *((float *)this + 207); v14 = v10; v12 = v9 - v11; v13 = v15 - v12; v15 = v13; if ( v7 != v10 || v11 != v13 ) { *((_BYTE *)this + 732) = 1; *((_BYTE *)this + 733) = 1; *((_BYTE *)this + 708) = 1; *((double *)this + 101) = v10 + v8; *((double *)this + 102) = v13 + v12; return cocos2d::CCPoint::operator=((char *)this + 824, &v14); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source