// // EditorUI::updateScaleControl from 0x70e958 to 0x70ea12 (186 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorUI::updateScaleControl @ 0x70ea16 // // 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:57:43 +0000 // int __fastcall EditorUI::updateScaleControl(EditorUI *this) { int result; // r0 unsigned int v3; // r5 _BOOL4 isTrigger; // r0 GameObject *v5; // r0 int v6; // r3 int v7; // r2 int v8; // r2 result = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 148) + 176))(*((_DWORD *)this + 148)); if ( result ) { v3 = *((_DWORD *)this + 249); if ( v3 ) { isTrigger = GameObject::isTrigger(*((GameObject **)this + 249)); } else if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167)) ) { while ( v3 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167)) ) { v5 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 167), v3); if ( !GameObject::isTrigger(v5) ) goto LABEL_5; ++v3; } isTrigger = 1; } else { LABEL_5: isTrigger = 0; } v6 = *((_DWORD *)this + 148); if ( *((_BYTE *)this + 511) ) { *(_DWORD *)(v6 + 416) = 1082130432; *(_DWORD *)(*((_DWORD *)this + 148) + 420) = 1048576000; } else { *(_DWORD *)(v6 + 420) = 1056964608; if ( isTrigger || (v7 = *((_DWORD *)this + 249)) != 0 && *(_DWORD *)(v7 + 892) == 747 ) v8 = 1082130432; else v8 = 0x40000000; *(_DWORD *)(*((_DWORD *)this + 148) + 416) = v8; } return GJScaleControl::loadValues( *((_DWORD *)this + 148), *((float **)this + 249), *((cocos2d::CCArray **)this + 167), (int)this + 344); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source