{"type": "func", "start": 8808024, "end": 8808156, "name": "GJBaseGameLayer::getRecordExtra", "pseudocode": "// \n// GJBaseGameLayer::getRecordExtra from 0x866658 to 0x8666dc (132 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::getRecordString @ 0x891fec\n// > <???> @ 0xb23e0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __usercall GJBaseGameLayer::getRecordExtra@<X0>(GJBaseGameLayer *this@<X0>, __int64 a2@<X8>)\n{\n  cocos2d::CCString *v3; // x0\n  char *CString; // x0\n\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"#%llu,%i,%i,%i,%i,%s\",\n                              (const char *)this->m_unk32e0,\n                              (unsigned int)this->m_savedAttempts,\n                              22,\n                              48,\n                              (unsigned int)this->m_level->m_levelVersion,\n                              this->m_savedPersistentStateString.m_data.m_data);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_D153B8(a2, CString);\n  return a2;\n}", "assembly": "; \n; GJBaseGameLayer::getRecordExtra from 0x866658 to 0x8666dc (132 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::getRecordString @ 0x891fec\n; > <???> @ 0xb23e0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x866658\nMOV             X1, X0                                                 ; +0x4, 0x86665c\nMOV             W3, #0x16                                              ; +0x8, 0x866660\nMOV             X29, SP                                                ; +0xc, 0x866664\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x866668\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x86666c\nLDR             X5, [X0,#0x8A0]                                        ; +0x18, 0x866670\nLDR             W2, [X1,#0x3450]                                       ; +0x1c, 0x866674\nADRP            X0, #aLluIIIIS@PAGE; \"#%llu,%i,%i,%i,%i,%s\"            ; +0x20, 0x866678\nLDR             X6, [X1,#0x3448]                                       ; +0x24, 0x86667c\nMOV             W4, #0x30 ; '0'                                        ; +0x28, 0x866680\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2c, 0x866684\nADD             X0, X0, #aLluIIIIS@PAGEOFF; \"#%llu,%i,%i,%i,%i,%s\"     ; +0x30, 0x866688\nLDR             W5, [X5,#0x210]                                        ; +0x34, 0x86668c\nMOV             X20, X8                                                ; +0x38, 0x866690\nLDR             X1, [X1,#0x3330]; char *                               ; +0x3c, 0x866694\nLDR             X7, [X19]                                              ; +0x40, 0x866698\nSTR             X7, [X29,#0x30+var_8]                                  ; +0x44, 0x86669c\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x48, 0x8666a0\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x4c, 0x8666a4\nMOV             X1, X0; char *                                         ; +0x50, 0x8666a8\nADD             X2, X29, #0x30+var_10                                  ; +0x54, 0x8666ac\nMOV             X0, X20; int                                           ; +0x58, 0x8666b0\nBL              sub_D153B8                                             ; +0x5c, 0x8666b4\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x60, 0x8666b8\nMOV             X0, X20                                                ; +0x64, 0x8666bc\nLDR             X1, [X19]                                              ; +0x68, 0x8666c0\nCMP             X2, X1                                                 ; +0x6c, 0x8666c4\nB.NE            loc_8666D8                                             ; +0x70, 0x8666c8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x74, 0x8666cc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x8666d0\nRET                                                                    ; +0x7c, 0x8666d4\nBL              .__stack_chk_fail                                      ; +0x80, 0x8666d8", "xrefs": ["GJBaseGameLayer::getRecordString @ 0x891fec", "<???> @ 0xb23e0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}