// // sub_100159E54 from 0x100159e54 to 0x100159ed8 (132 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x100162fe0 // > GJTransformControl::init @ 0x100159990 // // 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 10:59:43 +0000 // __int64 __fastcall sub_100159E54(__int64 a1) { __int64 v2; // x0 __int64 v3; // x20 __int64 v4; // x0 const char *v5; // x1 __int64 v6; // x1 *(_BYTE *)(a1 + 602) ^= 1u; v2 = GameManager::sharedState(a1); GameManager::setGameVariable(v2, "0189", *(unsigned __int8 *)(a1 + 602)); v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 544) + 1072LL))(*(_QWORD *)(a1 + 544)); v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v3); if ( *(_BYTE *)(a1 + 602) ) v5 = "warpGridOnBtn_001.png"; else v5 = "warpGridOffBtn_001.png"; v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1160LL))(v3, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source