{"type": "func", "start": 10945812, "end": 10945948, "name": "DialogLayer::updateNavButtonFrame", "pseudocode": "// \n// DialogLayer::updateNavButtonFrame from 0xa70514 to 0xa7059c (136 bytes)\n// \n// 4 xrefs:\n// > DialogLayer::finishCurrentAnimation @ 0xa705f8\n// > DialogLayer::displayNextObject @ 0xa70e48\n// > DialogLayer::init @ 0xa713c4\n// > <???> @ 0xad350\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:00:23 +0000\n// \n\n__int64 __fastcall DialogLayer::updateNavButtonFrame(DialogLayer *this)\n{\n  cocos2d::CCArray *v2; // x0\n  cocos2d::CCSpriteFrameCache **v3; // x19\n  __int64 (__fastcall *v4)(cocos2d::CCSpriteFrameCache **, __int64); // x20\n  cocos2d::CCSpriteFrameCache *v5; // x0\n  __int64 v6; // x0\n  cocos2d::CCSpriteFrameCache **v8; // x19\n  __int64 (__fastcall *v9)(cocos2d::CCSpriteFrameCache **, __int64); // x20\n  cocos2d::CCSpriteFrameCache *v10; // x0\n  __int64 v11; // x0\n\n  v2 = *((cocos2d::CCArray **)this + 74);\n  if ( v2 && (unsigned int)cocos2d::CCArray::count(v2) )\n  {\n    v8 = *((cocos2d::CCSpriteFrameCache ***)this + 76);\n    v9 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v8 + 145);\n    v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v8);\n    v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, \"GJ_chatBtn_01_001.png\");\n    return v9(v8, v11);\n  }\n  else\n  {\n    v3 = *((cocos2d::CCSpriteFrameCache ***)this + 76);\n    v4 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v3 + 145);\n    v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v3);\n    v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, \"GJ_chatBtn_02_001.png\");\n    return v4(v3, v6);\n  }\n}", "assembly": "; \n; DialogLayer::updateNavButtonFrame from 0xa70514 to 0xa7059c (136 bytes)\n; \n; 4 xrefs:\n; > DialogLayer::finishCurrentAnimation @ 0xa705f8\n; > DialogLayer::displayNextObject @ 0xa70e48\n; > DialogLayer::init @ 0xa713c4\n; > <???> @ 0xad350\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:00:23 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xa70514\nMOV             X29, SP                                                ; +0x4, 0xa70518\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xa7051c\nMOV             X19, X0                                                ; +0xc, 0xa70520\nLDR             X0, [X0,#0x250]; this                                  ; +0x10, 0xa70524\nCBZ             X0, loc_A70534                                         ; +0x14, 0xa70528\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0xa7052c\nCBNZ            W0, loc_A70568                                         ; +0x1c, 0xa70530\nLDR             X19, [X19,#0x260]                                      ; +0x20, 0xa70534\nLDR             X0, [X19]; this                                        ; +0x24, 0xa70538\nLDR             X20, [X0,#0x488]                                       ; +0x28, 0xa7053c\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x2c, 0xa70540\nADRL            X1, aGjChatbtn02001; \"GJ_chatBtn_02_001.png\"           ; +0x30, 0xa70544\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x38, 0xa7054c\nMOV             X1, X0                                                 ; +0x3c, 0xa70550\nMOV             X0, X19                                                ; +0x40, 0xa70554\nBLR             X20                                                    ; +0x44, 0xa70558\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0xa7055c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0xa70560\nRET                                                                    ; +0x50, 0xa70564\nLDR             X19, [X19,#0x260]                                      ; +0x54, 0xa70568\nLDR             X0, [X19]; this                                        ; +0x58, 0xa7056c\nLDR             X20, [X0,#0x488]                                       ; +0x5c, 0xa70570\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x60, 0xa70574\nADRL            X1, aGjChatbtn01001; \"GJ_chatBtn_01_001.png\"           ; +0x64, 0xa70578\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x6c, 0xa70580\nMOV             X1, X0                                                 ; +0x70, 0xa70584\nMOV             X0, X19                                                ; +0x74, 0xa70588\nBLR             X20                                                    ; +0x78, 0xa7058c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x7c, 0xa70590\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x80, 0xa70594\nRET                                                                    ; +0x84, 0xa70598", "xrefs": ["DialogLayer::finishCurrentAnimation @ 0xa705f8", "DialogLayer::displayNextObject @ 0xa70e48", "DialogLayer::init @ 0xa713c4", "<???> @ 0xad350"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}