// // sub_100437420 from 0x100437420 to 0x1004374b0 (144 bytes) // // 1 xrefs: // > @ 0x100937220 // // 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 sub_100437420(__int64 a1, cocos2d::CCObject *a2) { GameManager *v2; // rax __int64 v3; // rbx cocos2d::CCSpriteFrameCache *v4; // rax cocos2d::CCSpriteFrame *v5; // rax if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 2 ) { v2 = GameManager::sharedState(); GameManager::setUGV(v2, "8", 1); v3 = *(_QWORD *)(a1 + 160); if ( v3 ) { v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "secretDoorBtn2_open_001.png"); (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v3 + 1144LL))(v3, v5); } } else if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 ) { LevelPage::onTheTower((LevelPage *)(a1 - 408), a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source