{"type": "func", "start": 6276336, "end": 6276406, "name": "FileOperation::getFilePath", "pseudocode": "// \n// FileOperation::getFilePath from 0x5fc4f0 to 0x5fc536 (70 bytes)\n// \n// 7 xrefs:\n// > FileOperation::saveFile @ 0x5fc550\n// > FileOperation::readFile @ 0x5fc5a8\n// > DS_Dictionary::saveRootSubDictToFile @ 0x5fc7f4\n// > DS_Dictionary::copyFile @ 0x5fc920\n// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x5fca78\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x5fecc6\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5feda0\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\nFileOperation *__fastcall FileOperation::getFilePath(FileOperation *this, int a2)\n{\n  _DWORD v4[2]; // [sp+0h] [bp-8h] BYREF\n\n  v4[0] = this;\n  v4[1] = a2;\n  sub_776584((int)this, (char *)&unk_939830);\n  cocos2d::CCFileUtils::sharedFileUtils();\n  sub_775C20(v4);\n  sub_77441C(this, v4);\n  sub_774008(v4);\n  return this;\n}", "assembly": "; \n; FileOperation::getFilePath from 0x5fc4f0 to 0x5fc536 (70 bytes)\n; \n; 7 xrefs:\n; > FileOperation::saveFile @ 0x5fc550\n; > FileOperation::readFile @ 0x5fc5a8\n; > DS_Dictionary::saveRootSubDictToFile @ 0x5fc7f4\n; > DS_Dictionary::copyFile @ 0x5fc920\n; > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x5fca78\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x5fecc6\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5feda0\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            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x5fc4f0\nMOV             R2, SP                                                 ; +0x2, 0x5fc4f2\nLDR             R5, =(__stack_chk_guard_ptr - 0x5FC4FE)                ; +0x4, 0x5fc4f4\nMOV             R6, R0                                                 ; +0x6, 0x5fc4f6\nLDR             R1, =(unk_939830 - 0x5FC502)                           ; +0x8, 0x5fc4f8\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x5fc4fa\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x5fc4fc\nADD             R1, PC; unk_939830 ; char *                            ; +0xe, 0x5fc4fe\nLDR             R3, [R5]                                               ; +0x10, 0x5fc500\nSTR             R3, [SP,#8+var_4]                                      ; +0x12, 0x5fc502\nBL              sub_776584                                             ; +0x14, 0x5fc504\nBL              _ZN7cocos2d11CCFileUtils15sharedFileUtilsEv; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0x18, 0x5fc508\nADD.W           R1, R0, #0x3C ; '<'                                    ; +0x1c, 0x5fc50c\nMOV             R0, SP                                                 ; +0x20, 0x5fc510\nBL              sub_775C20                                             ; +0x22, 0x5fc512\nMOV             R1, SP                                                 ; +0x26, 0x5fc516\nMOV             R0, R6                                                 ; +0x28, 0x5fc518\nBL              sub_77441C                                             ; +0x2a, 0x5fc51a\nMOV             R0, SP                                                 ; +0x2e, 0x5fc51e\nBL              sub_774008                                             ; +0x30, 0x5fc520\nLDR             R2, [SP,#8+var_4]                                      ; +0x34, 0x5fc524\nLDR             R3, [R5]                                               ; +0x36, 0x5fc526\nMOV             R0, R6                                                 ; +0x38, 0x5fc528\nCMP             R2, R3                                                 ; +0x3a, 0x5fc52a\nBEQ             loc_5FC532                                             ; +0x3c, 0x5fc52c\nBLX             __stack_chk_fail                                       ; +0x3e, 0x5fc52e\nADD             SP, SP, #8                                             ; +0x42, 0x5fc532\nPOP             {R4-R6,PC}                                             ; +0x44, 0x5fc534", "xrefs": ["FileOperation::saveFile @ 0x5fc550", "FileOperation::readFile @ 0x5fc5a8", "DS_Dictionary::saveRootSubDictToFile @ 0x5fc7f4", "DS_Dictionary::copyFile @ 0x5fc920", "DS_Dictionary::saveRootSubDictToCompressedFile @ 0x5fca78", "DS_Dictionary::loadRootSubDictFromFile @ 0x5fecc6", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x5feda0"], "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"}