// // GJDropDownLayer::hideLayer from 0x52bc64 to 0x52bd16 (178 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:52:00 +0000 // int __fastcall GJDropDownLayer::hideLayer(GJDropDownLayer *this, int a2) { void (__fastcall ***v4)(_DWORD, GJDropDownLayer *); // r0 GameManager *v5; // r0 GameManager *v6; // r0 int GameVariable; // r0 const cocos2d::CCPoint *v8; // r2 char *v9; // r1 cocos2d::CCEaseInOut *v11; // r0 float v12; // r2 cocos2d::CCSequence *v13; // r6 cocos2d::CCFiniteTimeAction *v14; // r0 int v15; // r3 cocos2d::CCAction *v16; // r0 unsigned __int8 v17; // r2 cocos2d::CCAction *v18; // r1 if ( *((_BYTE *)this + 468) ) { v4 = *((void (__fastcall ****)(_DWORD, GJDropDownLayer *))this + 118); if ( v4 ) (**v4)(v4, this); } v5 = (GameManager *)cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)this + 116)); v6 = (GameManager *)GameManager::sharedState(v5); GameVariable = GameManager::getGameVariable(v6, "0168"); v9 = (char *)this + 448; if ( GameVariable || a2 ) { (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 116) + 92))(*((_DWORD *)this + 116), v9); (*(void (__fastcall **)(GJDropDownLayer *, _DWORD))(*(_DWORD *)this + 584))(this, 0); return (*(int (__fastcall **)(GJDropDownLayer *))(*(_DWORD *)this + 676))(this); } else { v11 = (cocos2d::CCEaseInOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, *(float *)&v9, v8); v13 = (cocos2d::CCSequence *)cocos2d::CCEaseInOut::create(v11, (cocos2d::CCActionInterval *)0x40000000, v12); v14 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, 676, 1); v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v13, v14, 0, v15, 676, 1); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 116), v16); v18 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3F000000, 0.0, v17); return cocos2d::CCNode::runAction(this, v18); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source