// // GJTransformControl::loadValues from 0xbd3688 to 0xbd37b4 (300 bytes) // // 3 xrefs: // > GJTransformControl::applyFreeRotation @ 0xbd38b8 // > EditorUI::updateTransformControl @ 0xc044a0 // > @ 0xf4af8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:03:38 +0000 // __int64 __fastcall GJTransformControl::loadValues( GJTransformControl *a1, cocos2d::CCArray *this, cocos2d::CCArray *a3, __int64 a4) { cocos2d::CCObject *v5; // x20 int v7; // w0 cocos2d::CCObject *v8; // x0 unsigned int v9; // w19 unsigned int v10; // w1 GameObject *v11; // x21 GameObjectEditorState *v12; // x0 cocos2d::CCObject *v14; // x0 cocos2d::CCArray *v15; // [xsp+58h] [xbp+58h] int v16; // [xsp+64h] [xbp+64h] BYREF v5 = a3; if ( !this || a3 && (v15 = this, v7 = cocos2d::CCArray::count(a3), this = v15, v7) ) { if ( v5 ) { LABEL_5: cocos2d::CCObject::retain(v5); v8 = *((cocos2d::CCObject **)a1 + 53); if ( v8 ) cocos2d::CCObject::release(v8); *((_QWORD *)a1 + 53) = v5; if ( (unsigned int)cocos2d::CCArray::count(v5) ) { v9 = 0; while ( v9 < (unsigned int)cocos2d::CCArray::count(v5) ) { v10 = v9++; v11 = (GameObject *)cocos2d::CCArray::objectAtIndex(v5, v10); GameObject::updateStartPos(v11); v16 = *((_DWORD *)v11 + 229); v12 = (GameObjectEditorState *)std::unordered_map::operator[](a4, &v16); GameObjectEditorState::loadValues(v12, v11); } } goto LABEL_11; } } else { v5 = (cocos2d::CCObject *)cocos2d::CCArray::createWithObject(this, this); if ( v5 ) goto LABEL_5; } v14 = *((cocos2d::CCObject **)a1 + 53); if ( v14 ) { cocos2d::CCObject::release(v14); *((_QWORD *)a1 + 53) = 0; } LABEL_11: GJTransformControl::updateButtons(a1, 1u, 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source