// // GJTransformControl::scaleButtons from 0x10003dcd0 to 0x10003dd75 (165 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJTransformControl::scaleButtons(GJTransformControl *a1, float a2) { cocos2d::CCArray *m_warpSprites; // rax cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // r14 unsigned __int64 v5; // r15 __int64 v6; // rax m_warpSprites = a1->m_warpSprites; if ( m_warpSprites ) { data = m_warpSprites->data; if ( data->num ) { arr = data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { if ( !*arr ) break; ((void (__fastcall *)(cocos2d::CCObject *, float))(*arr)->__vftable[2].copyWithZone)( *arr, a1->m_buttonScale * (float)(0.69999999 * a2)); ++arr; } while ( (unsigned __int64)arr <= v5 ); } } v6 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_warpLockButton->getNormalImage)(a1->m_warpLockButton); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source