{"type": "func", "start": 6443041920, "end": 6443042029, "name": "sub_180090480", "pseudocode": "// \n// sub_180090480 from 0x180090480 to 0x1800904ed (109 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x180092271\n// > <???> @ 0x1801b62e8\n// > <???> @ 0x1801b62f4\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\nvoid __fastcall sub_180090480(__int64 a1, _QWORD *a2)\n{\n  unsigned __int64 v3; // rdx\n  _QWORD *v4; // rcx\n\n  v3 = a2[7];\n  if ( v3 > 0xF )\n  {\n    v4 = (_QWORD *)a2[4];\n    if ( v3 + 1 >= 0x1000 )\n    {\n      if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n      v4 = (_QWORD *)*(v4 - 1);\n    }\n    j_j_free_0(v4);\n  }\n  a2[6] = 0;\n  a2[7] = 15;\n  *((_BYTE *)a2 + 32) = 0;\n  j_j_free_0(a2);\n}", "assembly": "; \n; sub_180090480 from 0x180090480 to 0x1800904ed (109 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x180092271\n; > <???> @ 0x1801b62e8\n; > <???> @ 0x1801b62f4\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    rbx                                                            ; +0x0, 0x180090480\nsub     rsp, 20h                                                       ; +0x2, 0x180090482\nmov     rbx, rdx                                                       ; +0x6, 0x180090486\nmov     rdx, [rdx+38h]                                                 ; +0x9, 0x180090489\ncmp     rdx, 0Fh                                                       ; +0xd, 0x18009048d\njbe     short loc_1800904C0                                            ; +0x11, 0x180090491\nmov     rcx, [rbx+20h]                                                 ; +0x13, 0x180090493\ninc     rdx                                                            ; +0x17, 0x180090497\ncmp     rdx, 1000h                                                     ; +0x1a, 0x18009049a\njb      short loc_1800904BB                                            ; +0x21, 0x1800904a1\nmov     r8, [rcx-8]                                                    ; +0x23, 0x1800904a3\nadd     rdx, 27h ; '''                                                 ; +0x27, 0x1800904a7\nsub     rcx, r8                                                        ; +0x2b, 0x1800904ab\nlea     rax, [rcx-8]                                                   ; +0x2e, 0x1800904ae\ncmp     rax, 1Fh                                                       ; +0x32, 0x1800904b2\nja      short loc_1800904E6                                            ; +0x36, 0x1800904b6\nmov     rcx, r8; Block                                                 ; +0x38, 0x1800904b8\ncall    j_j_free_0                                                     ; +0x3b, 0x1800904bb\nmov     edx, 40h ; '@'                                                 ; +0x40, 0x1800904c0\nmov     qword ptr [rbx+30h], 0                                         ; +0x45, 0x1800904c5\nmov     rcx, rbx; Block                                                ; +0x4d, 0x1800904cd\nmov     qword ptr [rbx+38h], 0Fh                                       ; +0x50, 0x1800904d0\nmov     byte ptr [rbx+20h], 0                                          ; +0x58, 0x1800904d8\nadd     rsp, 20h                                                       ; +0x5c, 0x1800904dc\npop     rbx                                                            ; +0x60, 0x1800904e0\njmp     j_j_free_0                                                     ; +0x61, 0x1800904e1\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x66, 0x1800904e6\ndb 0CCh                                                                ; +0x6c, 0x1800904ec", "xrefs": ["cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x180092271", "<???> @ 0x1801b62e8", "<???> @ 0x1801b62f4"], "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"}