// // GJUINode::updateButtonFrames from 0x3fc7cc to 0x3fc842 (118 bytes) // // 4 xrefs: // > GJUINode::toggleModeB @ 0x3fd396 // > GJUINode::loadFromConfig @ 0x3fd67a // > UIOptionsLayer::valueDidChange @ 0x5dd960 // > TouchControlEditLayer::valueDidChange @ 0x7a4ec0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:21 +0000 // cocos2d::CCSpriteFrameCache *__fastcall GJUINode::updateButtonFrames(GJUINode *this) { int v2; // r5 int (__fastcall *v3)(int, int); // r6 cocos2d::CCSpriteFrameCache *v4; // r0 const char *v5; // r1 int v6; // r0 cocos2d::CCSpriteFrameCache *result; // r0 int v8; // r5 int (__fastcall *v9)(int, int); // r6 cocos2d::CCSpriteFrameCache *v10; // r0 const char *v11; // r1 int v12; // r0 v2 = *((_DWORD *)this + 66); v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 580); v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(this); if ( *((_BYTE *)this + 317) ) { v5 = "PBtn_Arrow_001.png"; } else if ( *((_BYTE *)this + 322) ) { v5 = "PBtn_Jump_001.png"; } else if ( *((_BYTE *)this + 323) ) { v5 = "PBtn_Jump_001.png"; } else { v5 = "PBtn_Move_001.png"; } v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5); result = (cocos2d::CCSpriteFrameCache *)v3(v2, v6); v8 = *((_DWORD *)this + 67); if ( v8 ) { v9 = *(int (__fastcall **)(int, int))(*(_DWORD *)v8 + 580); v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(result); if ( *((_BYTE *)this + 323) ) v11 = "PBtn_Jump_001.png"; else v11 = "PBtn_Move_001.png"; v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, v11); return (cocos2d::CCSpriteFrameCache *)v9(v8, v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source