// // EditorWindowPopup::applyWindowSize from 0x78bf70 to 0x78c010 (160 bytes) // // 2 xrefs: // > EditorWindowPopup::ccTouchMoved @ 0x78c5b0 // > EditorWindowPopup::initWindow @ 0x78cb24 // // 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:59:37 +0000 // int __fastcall EditorWindowPopup::applyWindowSize(EditorWindowPopup *this) { int v1; // r6 void (__fastcall *v3)(int, _BYTE *); // r8 float v4; // s15 float v5; // r1 int v6; // r3 ScrollableContentLayer *v7; // r8 int v8; // r2 int v9; // r3 int result; // r0 _BYTE v11[8]; // [sp+4h] [bp-8h] BYREF _BYTE v12[8]; // [sp+Ch] [bp+0h] BYREF v1 = *((_DWORD *)this + 179); if ( v1 ) { v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v1 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, *((float *)this + 183), *((float *)this + 184)); v3(v1, v12); } v4 = *((float *)this + 184); v5 = *((float *)this + 183); v6 = *((_DWORD *)this + 181); *((float *)this + 139) = v5; *((float *)this + 140) = v4; if ( v6 ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)v11, v5, v4 - 4.0); v7 = *((ScrollableContentLayer **)this + 181); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, (const cocos2d::CCSize *)v11); ScrollableContentLayer::setViewSize(v7, (int)v12, v8, v9); } result = EditorWindowPopup::layoutWindow(this); if ( *((_DWORD *)this + 198) == 1 ) return (*(int (__fastcall **)(EditorWindowPopup *))(*(_DWORD *)this + 760))(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source