// // GJUINode::updateButtonFrames from 0x140673f90 to 0x140674068 (216 bytes) // // 5 xrefs: // > TouchControlEditLayer::valueDidChange @ 0x140453d2e // > TouchControlEditLayer::valueDidChange @ 0x140453d8b // > TouchControlEditLayer::valueDidChange @ 0x140453da0 // > GJUINode::init @ 0x140673e0d // > @ 0x140932414 // // 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 11:35:55 +0000 // __int64 __fastcall GJUINode::updateButtonFrames(__int64 a1, __int64 a2) { const char *v3; // r15 const char *v4; // r14 __int64 *v5; // rdi __int64 v6; // rbx cocos2d::CCSpriteFrameCache *v7; // rax struct cocos2d::CCSpriteFrame *v8; // rax __int64 result; // rax __int64 v10; // rdx __int64 v11; // rcx __int64 *v12; // rdi __int64 v13; // rbx cocos2d::CCSpriteFrameCache *v14; // rax struct cocos2d::CCSpriteFrame *v15; // rax v3 = "PBtn_Move_001.png"; if ( *(_BYTE *)(a1 + 381) ) { v4 = "PBtn_Arrow_001.png"; } else if ( *(_BYTE *)(a1 + 386) || (v4 = "PBtn_Move_001.png", *(_BYTE *)(a1 + 387)) ) { v4 = "PBtn_Jump_001.png"; } v5 = *(__int64 **)(a1 + 320); v6 = *v5; v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1, a2); v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v4); result = (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v6 + 1008))(v5, v8); v12 = *(__int64 **)(a1 + 328); if ( v12 ) { v13 = *v12; if ( *(_BYTE *)(a1 + 387) ) v3 = "PBtn_Jump_001.png"; v14 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v11, v10); v15 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v14, v3); return (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v13 + 1008))(v12, v15); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source