// // GJUINode::updateButtonFrames from 0x1004c6a00 to 0x1004c6ab7 (183 bytes) // // 2 xrefs: // > UIOptionsLayer::valueDidChange @ 0x1002a2684 // > TouchControlEditLayer::valueDidChange @ 0x10097a5a7 // // This function is hookable on this platform (idp: pc, 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 12:31:08 +0000 // __int64 __fastcall GJUINode::updateButtonFrames(__int64 a1) { __int64 v1; // r14 __int64 v2; // rax const char *v3; // rsi __int64 v4; // rax __int64 result; // rax __int64 v6; // r14 __int64 v7; // rax const char *v8; // rsi __int64 v9; // rax v1 = *(_QWORD *)(a1 + 320); v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( *(_BYTE *)(a1 + 381) ) { v3 = "PBtn_Arrow_001.png"; } else if ( *(_BYTE *)(a1 + 386) ) { v3 = "PBtn_Jump_001.png"; } else { v3 = "PBtn_Move_001.png"; if ( *(_BYTE *)(a1 + 387) ) v3 = "PBtn_Jump_001.png"; } v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v2, v3); result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 1160LL))(v1, v4); v6 = *(_QWORD *)(a1 + 328); if ( v6 ) { v7 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v8 = "PBtn_Move_001.png"; if ( *(_BYTE *)(a1 + 387) ) v8 = "PBtn_Jump_001.png"; v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v8); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 1160LL))(v6, v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source