{"type": "func", "start": 4680892, "end": 4680992, "name": "GJBaseGameLayer::getRecordExtra", "pseudocode": "// \n// GJBaseGameLayer::getRecordExtra from 0x476cbc to 0x476d20 (100 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::getRecordString @ 0x48eea8\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\nGJBaseGameLayer *__fastcall GJBaseGameLayer::getRecordExtra(GJBaseGameLayer *this, int a2)\n{\n  cocos2d::CCString *v3; // r0\n  char *CString; // r0\n\n  v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"#%llu,%i,%i,%i,%i,%s\",\n                              (const char *)(a2 + 11264),\n                              *(_DWORD *)(a2 + 11112),\n                              *(_DWORD *)(a2 + 11116),\n                              *(_DWORD *)(a2 + 11268),\n                              22,\n                              48,\n                              *(_DWORD *)(*(_DWORD *)(a2 + 1544) + 428),\n                              *(_DWORD *)(a2 + 11264));\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_776584((int)this, CString);\n  return this;\n}", "assembly": "; \n; GJBaseGameLayer::getRecordExtra from 0x476cbc to 0x476d20 (100 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::getRecordString @ 0x48eea8\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\nPUSH            {R4,R5,LR}                                             ; +0x0, 0x476cbc\nMOVW            R2, #0x2C04                                            ; +0x2, 0x476cbe\nLDR             R4, =(__stack_chk_guard_ptr - 0x476CCE)                ; +0x6, 0x476cc2\nSUB             SP, SP, #0x24                                          ; +0x8, 0x476cc4\nLDR             R2, [R1,R2]                                            ; +0xa, 0x476cc6\nMOV             R5, R0                                                 ; +0xc, 0x476cc8\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x476cca\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x476ccc\nLDR             R0, =(aLluIIIIS - 0x476CD6); \"#%llu,%i,%i,%i,%i,%s\"    ; +0x12, 0x476cce\nLDR             R3, [R4]                                               ; +0x14, 0x476cd0\nADD             R0, PC; \"#%llu,%i,%i,%i,%i,%s\"                         ; +0x16, 0x476cd2\nSTR             R2, [SP,#0x24+var_24]                                  ; +0x18, 0x476cd4\nMOVS            R2, #0x16                                              ; +0x1a, 0x476cd6\nSTR             R2, [SP,#0x24+var_20]                                  ; +0x1c, 0x476cd8\nMOVS            R2, #0x30 ; '0'                                        ; +0x1e, 0x476cda\nSTR             R2, [SP,#0x24+var_1C]                                  ; +0x20, 0x476cdc\nLDR.W           R2, [R1,#0x608]                                        ; +0x22, 0x476cde\nSTR             R3, [SP,#0x24+var_8]                                   ; +0x26, 0x476ce2\nADD.W           R3, R1, #0x2B40                                        ; +0x28, 0x476ce4\nADD.W           R1, R1, #0x2C00; char *                                ; +0x2c, 0x476ce8\nADDS            R3, #0x28 ; '('                                        ; +0x30, 0x476cec\nLDR.W           R2, [R2,#0x1AC]                                        ; +0x32, 0x476cee\nSTR             R2, [SP,#0x24+var_18]                                  ; +0x36, 0x476cf2\nLDR             R2, [R1]                                               ; +0x38, 0x476cf4\nSTR             R2, [SP,#0x24+var_14]                                  ; +0x3a, 0x476cf6\nLDRD.W          R2, R3, [R3]                                           ; +0x3c, 0x476cf8\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x40, 0x476cfc\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x44, 0x476d00\nADD             R2, SP, #0x24+var_C                                    ; +0x48, 0x476d04\nMOV             R1, R0; char *                                         ; +0x4a, 0x476d06\nMOV             R0, R5; int                                            ; +0x4c, 0x476d08\nBL              sub_776584                                             ; +0x4e, 0x476d0a\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x52, 0x476d0e\nLDR             R3, [R4]                                               ; +0x54, 0x476d10\nMOV             R0, R5                                                 ; +0x56, 0x476d12\nCMP             R2, R3                                                 ; +0x58, 0x476d14\nBEQ             loc_476D1C                                             ; +0x5a, 0x476d16\nBLX             __stack_chk_fail                                       ; +0x5c, 0x476d18\nADD             SP, SP, #0x24 ; '$'                                    ; +0x60, 0x476d1c\nPOP             {R4,R5,PC}                                             ; +0x62, 0x476d1e", "xrefs": ["GJBaseGameLayer::getRecordString @ 0x48eea8"], "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"}