{"type": "func", "start": 4024036, "end": 4024182, "name": "GJGameLevel::scoreStringToVector", "pseudocode": "// \n// GJGameLevel::scoreStringToVector from 0x3d66e4 to 0x3d6776 (146 bytes)\n// \n// 2 xrefs:\n// > GJGameLevel::storeNewLocalScore @ 0x3d82a2\n// > LevelLeaderboard::getLocalScores @ 0x4e4de4\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 GJGameLevel::scoreStringToVector(GJGameLevel *a1, std::string *a2, std::vector<int> *a3)\n{\n  _DWORD *v4; // r0\n  char *v5; // [sp+0h] [bp-C8h] BYREF\n  int v6; // [sp+4h] [bp-C4h] BYREF\n  _BYTE v7[188]; // [sp+8h] [bp-C0h] BYREF\n\n  if ( *((_DWORD *)a2->m_data.m_data - 3) )\n  {\n    sub_75EA64(v7);\n    v5 = (char *)&unk_ACDDA8;\n    while ( 1 )\n    {\n      v4 = (_DWORD *)sub_74A2AC(v7, &v5, 44);\n      if ( !sub_744684((char *)v4 + *(_DWORD *)(*v4 - 12)) )\n        break;\n      v6 = atoi(v5);\n      std::vector<int>::emplace_back<int>((void **)&a3->m_start, &v6);\n    }\n    sub_774008(&v5);\n    sub_75D2A8(v7);\n  }\n}", "assembly": "; \n; GJGameLevel::scoreStringToVector from 0x3d66e4 to 0x3d6776 (146 bytes)\n; \n; 2 xrefs:\n; > GJGameLevel::storeNewLocalScore @ 0x3d82a2\n; > LevelLeaderboard::getLocalScores @ 0x4e4de4\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.W          {R4-R8,LR}                                             ; +0x0, 0x3d66e4\nMOV             R7, R2                                                 ; +0x4, 0x3d66e8\nLDR             R2, =(__stack_chk_guard_ptr - 0x3D66F2)                ; +0x6, 0x3d66ea\nSUB             SP, SP, #0xC8                                          ; +0x8, 0x3d66ec\nADD             R2, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3d66ee\nLDR             R2, [R2]; __stack_chk_guard                            ; +0xc, 0x3d66f0\nLDR             R3, [R2]                                               ; +0xe, 0x3d66f2\nMOV             R6, R2                                                 ; +0x10, 0x3d66f4\nSTR             R3, [SP,#0xC8+var_4]                                   ; +0x12, 0x3d66f6\nLDR             R3, [R1]                                               ; +0x14, 0x3d66f8\nLDR.W           R3, [R3,#-0xC]                                         ; +0x16, 0x3d66fa\nCBZ             R3, loc_3D6764                                         ; +0x1a, 0x3d66fe\nADD             R5, SP, #0xC8+var_C0                                   ; +0x1c, 0x3d6700\nMOVS            R2, #0x18                                              ; +0x1e, 0x3d6702\nADD             R4, SP, #0xC8+var_s0                                   ; +0x20, 0x3d6704\nADD.W           R8, SP, #0xC8+var_C4                                   ; +0x22, 0x3d6706\nMOV             R0, R5                                                 ; +0x26, 0x3d670a\nBL              sub_75EA64                                             ; +0x28, 0x3d670c\nLDR             R3, =(off_AB5BA0 - 0x3D6716)                           ; +0x2c, 0x3d6710\nADD             R3, PC; off_AB5BA0                                     ; +0x2e, 0x3d6712\nLDR             R3, [R3]; dword_ACDD9C                                 ; +0x30, 0x3d6714\nADDS            R3, #0xC                                               ; +0x32, 0x3d6716\nSTR.W           R3, [R4,#-0xC8]!                                       ; +0x34, 0x3d6718\nMOV             R0, R5                                                 ; +0x38, 0x3d671c\nMOV             R1, R4                                                 ; +0x3a, 0x3d671e\nMOVS            R2, #0x2C ; ','                                        ; +0x3c, 0x3d6720\nBL              sub_74A2AC                                             ; +0x3e, 0x3d6722\nLDR             R3, [R0]                                               ; +0x42, 0x3d6726\nLDR.W           R3, [R3,#-0xC]                                         ; +0x44, 0x3d6728\nADD             R0, R3                                                 ; +0x48, 0x3d672c\nBL              sub_744684                                             ; +0x4a, 0x3d672e\nCBZ             R0, loc_3D6746                                         ; +0x4e, 0x3d6732\nLDR             R0, [SP,#0xC8+var_C8]; char *                          ; +0x50, 0x3d6734\nBLX             atoi                                                   ; +0x52, 0x3d6736\nMOV             R1, R8                                                 ; +0x56, 0x3d673a\nSTR             R0, [SP,#0xC8+var_C4]                                  ; +0x58, 0x3d673c\nMOV             R0, R7                                                 ; +0x5a, 0x3d673e\nBL              _ZNSt6vectorIiSaIiEE12emplace_backIJiEEEvDpOT_; std::vector<int>::emplace_back<int>(int &&) ; +0x5c, 0x3d6740\nB               loc_3D671C                                             ; +0x60, 0x3d6744\nMOV             R0, R4                                                 ; +0x62, 0x3d6746\nBL              sub_774008                                             ; +0x64, 0x3d6748\nMOV             R0, R5                                                 ; +0x68, 0x3d674c\nBL              sub_75D2A8                                             ; +0x6a, 0x3d674e\nB               loc_3D6764                                             ; +0x6e, 0x3d6752\nMOV             R0, R4                                                 ; +0x70, 0x3d6754\nBL              sub_774008                                             ; +0x72, 0x3d6756\nMOV             R0, R5                                                 ; +0x76, 0x3d675a\nBL              sub_75D2A8                                             ; +0x78, 0x3d675c\nBL              __cxa_end_cleanup                                      ; +0x7c, 0x3d6760\nLDR             R2, [SP,#0xC8+var_4]                                   ; +0x80, 0x3d6764\nLDR             R3, [R6]                                               ; +0x82, 0x3d6766\nCMP             R2, R3                                                 ; +0x84, 0x3d6768\nBEQ             loc_3D6770                                             ; +0x86, 0x3d676a\nBLX             __stack_chk_fail                                       ; +0x88, 0x3d676c\nADD             SP, SP, #0xC8                                          ; +0x8c, 0x3d6770\nPOP.W           {R4-R8,PC}                                             ; +0x8e, 0x3d6772", "xrefs": ["GJGameLevel::storeNewLocalScore @ 0x3d82a2", "LevelLeaderboard::getLocalScores @ 0x4e4de4"], "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"}