// // GJUINode::init from 0x3fd430 to 0x3fd538 (264 bytes) // // 1 xrefs: // > GJUINode::create @ 0x3fd5ca // // 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:22 +0000 // int __fastcall GJUINode::init(GJUINode *this, UIButtonConfig *a2) { int v4; // r6 const char *v5; // r1 char *v6; // r0 int v7; // r0 int v8; // r3 const char *v9; // r1 char *v10; // r0 cocos2d::CCSprite *v11; // r0 v4 = cocos2d::CCNode::init(this); if ( v4 ) { (*(void (__fastcall **)(GJUINode *, void *))(*(_DWORD *)this + 160))(this, &unk_D2B6D0); if ( *((_BYTE *)a2 + 36) ) { v6 = "PBtn_Jump_001.png"; } else if ( *((_BYTE *)a2 + 38) ) { v6 = "PBtn_Jump_001.png"; } else { v6 = "PBtn_Move_001.png"; } v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v6, v5); v8 = *(_DWORD *)this; *((_DWORD *)this + 66) = v7; (*(void (__fastcall **)(GJUINode *, int, int))(v8 + 232))(this, v7, 1); if ( !*((_BYTE *)a2 + 36) ) { if ( *((_BYTE *)a2 + 38) ) v10 = "PBtn_Jump_001.png"; else v10 = "PBtn_Move_001.png"; v11 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v10, v9); *((_DWORD *)this + 67) = v11; cocos2d::CCSprite::setFlipX(v11, 1); (*(void (__fastcall **)(GJUINode *, _DWORD, int))(*(_DWORD *)this + 232))(this, *((_DWORD *)this + 67), 1); } *((_BYTE *)this + 323) = *((_BYTE *)a2 + 38); *((_BYTE *)this + 322) = *((_BYTE *)a2 + 36); GJUINode::updateSize(this, (float)*(int *)a2, (float)*((int *)a2 + 1)); GJUINode::updateButtonPositions((int)this); GJUINode::updateDragRadius((int)this, *((float *)a2 + 5)); GJUINode::updateDeadzone((int)this, (int)*((float *)a2 + 2)); GJUINode::toggleModeB(this, *((unsigned __int8 *)a2 + 24)); GJUINode::updateButtonScale(this, *((float *)a2 + 3)); GJUINode::setOpacity(this, *((unsigned __int8 *)a2 + 16)); (*(void (__fastcall **)(GJUINode *, char *))(*(_DWORD *)this + 92))(this, (char *)a2 + 28); *((_BYTE *)this + 318) = *((_BYTE *)a2 + 25); *((_BYTE *)this + 319) = 0; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source