// // GJUINode::updateButtonFrames from 0x6eeab4 to 0x6eeb94 (224 bytes) // // 6 xrefs: // > GJUINode::toggleModeB @ 0x6efc74 // > GJUINode::loadFromConfig @ 0x6f00ac // > UIOptionsLayer::valueDidChange @ 0xa2e9f4 // > UIOptionsLayer::valueDidChange @ 0xa2ea14 // > TouchControlEditLayer::valueDidChange @ 0xd074e8 // > @ 0x45190 // // 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 12:51:47 +0000 // __int64 __fastcall GJUINode::updateButtonFrames(GJUINode *this) { cocos2d::CCSpriteFrameCache **v2; // x20 __int64 (__fastcall *v3)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v4; // x0 __int64 v5; // x0 __int64 result; // x0 cocos2d::CCSpriteFrameCache **v7; // x20 const char *v8; // x1 __int64 v9; // x0 __int64 (__fastcall *v10)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v11; // x0 const char *v12; // x1 __int64 v13; // x0 v2 = *((cocos2d::CCSpriteFrameCache ***)this + 40); v3 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v2 + 145); v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v2); if ( *((_BYTE *)this + 381) ) { v8 = "PBtn_Arrow_001.png"; goto LABEL_6; } if ( !*((_BYTE *)this + 386) && !*((_BYTE *)this + 387) ) { v8 = "PBtn_Move_001.png"; LABEL_6: v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v8); result = v3(v2, v9); v7 = *((cocos2d::CCSpriteFrameCache ***)this + 41); if ( !v7 ) return result; goto LABEL_7; } v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "PBtn_Jump_001.png"); result = v3(v2, v5); v7 = *((cocos2d::CCSpriteFrameCache ***)this + 41); if ( !v7 ) return result; LABEL_7: v10 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v7 + 145); v11 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v7); if ( *((_BYTE *)this + 387) ) v12 = "PBtn_Jump_001.png"; else v12 = "PBtn_Move_001.png"; v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, v12); return v10(v7, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source