// // MapSelectLayer::update from 0x640494 to 0x6405c0 (300 bytes) // // 0 xrefs: // // 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:55:28 +0000 // cocos2d::CCTexture2D *__fastcall MapSelectLayer::update(cocos2d::CCTexture2D *this, float a2) { int v3; // r4 int v4; // r6 void (__fastcall *v5)(int, int); // r5 int v6; // r0 int v7; // r5 void (__fastcall *v8)(int, int); // r6 int v9; // r0 void (__fastcall *v10)(int, _BYTE *); // r11 float v11; // s16 int v12; // r9 int v13; // r3 float v14; // s14 bool v15; // cc float v16; // s14 _BYTE v17[8]; // [sp+4h] [bp-20h] BYREF float v18[2]; // [sp+Ch] [bp-18h] BYREF _BYTE v19[8]; // [sp+14h] [bp-10h] BYREF v3 = (int)this; if ( !*((_BYTE *)this + 331) ) { v4 = *((_DWORD *)this + 79); if ( *((_BYTE *)this + 344) ) { v5 = *(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 92); v6 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 92) + 2436) + 96))(*(_DWORD *)(*((_DWORD *)this + 92) + 2436)); v5(v4, v6); v7 = *(_DWORD *)(v3 + 316); v8 = *(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 80); v9 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*(_DWORD *)(v3 + 368) + 2436) + 84))(*(_DWORD *)(*(_DWORD *)(v3 + 368) + 2436)); v8(v7, v9); return GJBigSprite::updateSpriteVisibility(*(cocos2d::CCTexture2D **)(v3 + 316)); } else { v10 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92); v11 = a2 * 60.0; v12 = (*(int (__fastcall **)(_DWORD))(*(_DWORD *)v4 + 96))(*((_DWORD *)this + 79)); cocos2d::CCPoint::operator*(v19, v3 + 356, a2 * 60.0); cocos2d::CCPoint::operator+(v18, v12, v19); MapSelectLayer::getConstrainedMapPos((cocos2d::CCDirector *)v17, v3, v18); v10(v4, v17); GJBigSprite::updateSpriteVisibility(*(cocos2d::CCTexture2D **)(v3 + 316)); cocos2d::CCPoint::operator*(v19, v3 + 356, 1.0 - (float)(v11 * 0.05)); this = (cocos2d::CCTexture2D *)cocos2d::CCPoint::operator=(v3 + 356, v19); v14 = fabsf(*(float *)(v3 + 356)); v15 = v14 > 0.1; if ( v14 <= 0.1 ) v13 = 0; v16 = fabsf(*(float *)(v3 + 360)); if ( !v15 ) *(_DWORD *)(v3 + 356) = v13; if ( v16 <= 0.1 ) *(_DWORD *)(v3 + 360) = 0; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source