// // LevelAreaLayer::onEnterTower from 0xb5d504 to 0xb5d5c4 (192 bytes) // // 3 xrefs: // > @ 0xd35b8 // > LevelAreaLayer::fadeInsideTower @ 0xb59d4c // > @ 0x1546430 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:02:10 +0000 // __int64 __fastcall LevelAreaLayer::onEnterTower(LevelAreaLayer *this) { __int64 v1; // x0 cocos2d::CCDirector *v2; // x0 cocos2d::CCDirector *v3; // x20 AppDelegate *v4; // x0 unsigned __int8 v6; // [xsp+20h] [xbp+20h] BYREF char v7[9]; // [xsp+21h] [xbp+21h] BYREF __int16 v8; // [xsp+2Ah] [xbp+2Ah] int v9; // [xsp+2Ch] [xbp+2Ch] void *v10; // [xsp+30h] [xbp+30h] v1 = FMODAudioEngine::sharedEngine(_stack_chk_guard); v7[8] = 0; v8 = 0; v9 = 0; v10 = nullptr; v6 = 20; strcpy(v7, "door01."); FMODAudioEngine::playEffect(v1, (char *)&v6); v2 = (cocos2d::CCDirector *)v6; if ( (v6 & 1) != 0 ) operator delete(v10); v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); v4 = LevelAreaInnerLayer::scene(nullptr); cocos2d::CCDirector::replaceScene(v3, v4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source