{"type": "func", "start": 6329048, "end": 6329118, "name": "DialogLayer::updateNavButtonFrame", "pseudocode": "// \n// DialogLayer::updateNavButtonFrame from 0x6092d8 to 0x60931e (70 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::finishCurrentAnimation @ 0x609368\n// > DialogLayer::displayNextObject @ 0x6099ee\n// > DialogLayer::init @ 0x609daa\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:46 +0000\n// \n\nint __fastcall DialogLayer::updateNavButtonFrame(DialogLayer *this)\n{\n  cocos2d::CCSpriteFrameCache *v2; // r0\n  int v3; // r4\n  int (__fastcall *v4)(int, int); // r5\n  cocos2d::CCSpriteFrameCache *v5; // r0\n  const char *v6; // r1\n  int v7; // r0\n\n  v2 = *((cocos2d::CCSpriteFrameCache **)this + 118);\n  if ( v2 && (v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCArray::count(v2)) != nullptr )\n  {\n    v3 = *((_DWORD *)this + 120);\n    v4 = *(int (__fastcall **)(int, int))(*(_DWORD *)v3 + 580);\n    v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);\n    v6 = \"GJ_chatBtn_01_001.png\";\n  }\n  else\n  {\n    v3 = *((_DWORD *)this + 120);\n    v4 = *(int (__fastcall **)(int, int))(*(_DWORD *)v3 + 580);\n    v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);\n    v6 = \"GJ_chatBtn_02_001.png\";\n  }\n  v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);\n  return v4(v3, v7);\n}", "assembly": "; \n; DialogLayer::updateNavButtonFrame from 0x6092d8 to 0x60931e (70 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::finishCurrentAnimation @ 0x609368\n; > DialogLayer::displayNextObject @ 0x6099ee\n; > DialogLayer::init @ 0x609daa\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:46 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x6092d8\nMOV             R4, R0                                                 ; +0x2, 0x6092da\nLDR.W           R0, [R0,#0x1D8]; this                                  ; +0x4, 0x6092dc\nCBZ             R0, loc_6092FC                                         ; +0x8, 0x6092e0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x6092e2\nCBZ             R0, loc_6092FC                                         ; +0xe, 0x6092e6\nLDR.W           R4, [R4,#0x1E0]                                        ; +0x10, 0x6092e8\nLDR             R3, [R4]                                               ; +0x14, 0x6092ec\nLDR.W           R5, [R3,#0x244]                                        ; +0x16, 0x6092ee\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x1a, 0x6092f2\nLDR             R1, =(aGjChatbtn01001 - 0x6092FC); \"GJ_chatBtn_01_001.png\" ; +0x1e, 0x6092f6\nADD             R1, PC; \"GJ_chatBtn_01_001.png\"                        ; +0x20, 0x6092f8\nB               loc_60930E                                             ; +0x22, 0x6092fa\nLDR.W           R4, [R4,#0x1E0]                                        ; +0x24, 0x6092fc\nLDR             R3, [R4]                                               ; +0x28, 0x609300\nLDR.W           R5, [R3,#0x244]                                        ; +0x2a, 0x609302\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x2e, 0x609306\nLDR             R1, =(aGjChatbtn02001 - 0x609310); \"GJ_chatBtn_02_001.png\" ; +0x32, 0x60930a\nADD             R1, PC; \"GJ_chatBtn_02_001.png\"                        ; +0x34, 0x60930c\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x36, 0x60930e\nMOV             R3, R5                                                 ; +0x3a, 0x609312\nMOV             R1, R0                                                 ; +0x3c, 0x609314\nMOV             R0, R4                                                 ; +0x3e, 0x609316\nPOP.W           {R4-R6,LR}                                             ; +0x40, 0x609318\nBX              R3                                                     ; +0x44, 0x60931c", "xrefs": ["DialogLayer::finishCurrentAnimation @ 0x609368", "DialogLayer::displayNextObject @ 0x6099ee", "DialogLayer::init @ 0x609daa"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}