{"type": "func", "start": 4300417952, "end": 4300418033, "name": "GameLevelManager::saveFetchedMapPacks", "pseudocode": "// \n// GameLevelManager::saveFetchedMapPacks from 0x100532ba0 to 0x100532bf1 (81 bytes)\n// \n// 0 xrefs:\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 GameLevelManager::saveFetchedMapPacks(GameLevelManager *a1, cocos2d::CCArray *a2)\n{\n  unsigned int v2; // r15d\n  GJMapPack *v3; // rax\n\n  if ( (unsigned int)sub_100720070(a2) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = (GJMapPack *)sub_1007200C0(a2, v2);\n      GameLevelManager::saveMapPack(a1, v3);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a2) );\n  }\n}", "assembly": "; \n; GameLevelManager::saveFetchedMapPacks from 0x100532ba0 to 0x100532bf1 (81 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100532ba0\nmov     rbp, rsp                                                       ; +0x1, 0x100532ba1\npush    r15                                                            ; +0x4, 0x100532ba4\npush    r14                                                            ; +0x6, 0x100532ba6\npush    rbx                                                            ; +0x8, 0x100532ba8\npush    rax                                                            ; +0x9, 0x100532ba9\nmov     rbx, rsi                                                       ; +0xa, 0x100532baa\nmov     r14, rdi                                                       ; +0xd, 0x100532bad\nmov     rdi, rsi                                                       ; +0x10, 0x100532bb0\ncall    sub_100720070                                                  ; +0x13, 0x100532bb3\ntest    eax, eax                                                       ; +0x18, 0x100532bb8\njz      short loc_100532BE6                                            ; +0x1a, 0x100532bba\nxor     r15d, r15d                                                     ; +0x1c, 0x100532bbc\nnop                                                                    ; +0x1f, 0x100532bbf\nmov     rdi, rbx                                                       ; +0x20, 0x100532bc0\nmov     esi, r15d                                                      ; +0x23, 0x100532bc3\ncall    sub_1007200C0                                                  ; +0x26, 0x100532bc6\nmov     rdi, r14                                                       ; +0x2b, 0x100532bcb\nmov     rsi, rax                                                       ; +0x2e, 0x100532bce\ncall    GameLevelManager__saveMapPack                                  ; +0x31, 0x100532bd1\ninc     r15d                                                           ; +0x36, 0x100532bd6\nmov     rdi, rbx                                                       ; +0x39, 0x100532bd9\ncall    sub_100720070                                                  ; +0x3c, 0x100532bdc\ncmp     r15d, eax                                                      ; +0x41, 0x100532be1\njb      short loc_100532BC0                                            ; +0x44, 0x100532be4\nadd     rsp, 8                                                         ; +0x46, 0x100532be6\npop     rbx                                                            ; +0x4a, 0x100532bea\npop     r14                                                            ; +0x4b, 0x100532beb\npop     r15                                                            ; +0x4d, 0x100532bed\npop     rbp                                                            ; +0x4f, 0x100532bef\nretn                                                                   ; +0x50, 0x100532bf0", "xrefs": [], "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"}