// // sub_10054A340 from 0x10054a340 to 0x10054a3d8 (152 bytes) // // 2 xrefs: // > sub_100541E50 @ 0x100541e64 // > sub_1005423EC @ 0x1005423f0 // // 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 11:07:49 +0000 // __int64 __fastcall sub_10054A340(__int64 a1, int a2) { _DWORD *v3; // x20 __int64 v4; // x21 int v5; // w8 __int64 result; // x0 v3 = InfoLayer::create(0, *(_QWORD *)(a1 + 872), 0, 0); v4 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); if ( (int)cocos2d::CCScene::getHighestChildZ(v4) < 110 ) v5 = 110; else v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1; v3[148] = v5; result = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1312LL))(v3); if ( a2 ) return sub_1003F0408((__int64)v3); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source