// // EditorUI::updateScaleControl from 0xc01fb8 to 0xc0211c (356 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorUI::updateScaleControl @ 0xc02120 // > @ 0x55e88 // > @ 0x14372b8 // // 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:49 +0000 // __int64 __fastcall EditorUI::updateScaleControl(EditorUI *this) { __int64 result; // x0 GameObject *v3; // x0 bool isTrigger; // w0 __int64 v5; // x0 unsigned int v6; // w20 GameObject *v7; // x0 bool v8; // cf unsigned int v9; // w1 result = (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 98) + 352LL))(*((_QWORD *)this + 98)); if ( (_BYTE)result ) { v3 = *((GameObject **)this + 187); if ( v3 ) { isTrigger = GameObject::isTrigger(v3); if ( *((_BYTE *)this + 691) ) { LABEL_4: *(float *)(*((_QWORD *)this + 98) + 584LL) = 4.0; *(float *)(*((_QWORD *)this + 98) + 588LL) = 0.25; return GJScaleControl::loadValues( *((GJScaleControl **)this + 98), *((float **)this + 187), *((cocos2d::CCArray **)this + 112), (__int64)this + 464); } *(float *)(*((_QWORD *)this + 98) + 588LL) = 0.5; if ( !isTrigger ) { LABEL_6: v5 = *((_QWORD *)this + 187); if ( !v5 || *(_DWORD *)(v5 + 1028) != 747 ) { *(float *)(*((_QWORD *)this + 98) + 584LL) = 2.0; return GJScaleControl::loadValues( *((GJScaleControl **)this + 98), *((float **)this + 187), *((cocos2d::CCArray **)this + 112), (__int64)this + 464); } } } else { if ( !(unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) ) { LABEL_18: if ( *((_BYTE *)this + 691) ) goto LABEL_4; *(float *)(*((_QWORD *)this + 98) + 588LL) = 0.5; goto LABEL_6; } v6 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)); v9 = v6++; if ( v8 ) break; v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 112), v9); if ( !GameObject::isTrigger(v7) ) goto LABEL_18; } if ( *((_BYTE *)this + 691) ) goto LABEL_4; *(float *)(*((_QWORD *)this + 98) + 588LL) = 0.5; } *(float *)(*((_QWORD *)this + 98) + 584LL) = 4.0; return GJScaleControl::loadValues( *((GJScaleControl **)this + 98), *((float **)this + 187), *((cocos2d::CCArray **)this + 112), (__int64)this + 464); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source