; ; DS_Dictionary::setArrayForKey from 0x100162484 to 0x100162558 (212 bytes) ; ; 6 xrefs: ; > GameLevelManager::encodeDataTo @ 0x10009aedc ; > GameLevelManager::encodeDataTo @ 0x10009afd0 ; > DS_Dictionary::setObjectForKey @ 0x10016267c ; > LocalLevelManager::encodeDataTo @ 0x1001c92c8 ; > LocalLevelManager::encodeDataTo @ 0x1001c92f8 ; > GJRewardItem::encodeWithCoder @ 0x100340264 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; CBZ X2, locret_100162554 ; +0x0, 0x100162484 SUB SP, SP, #0x50 ; +0x4, 0x100162488 STP X24, X23, [SP,#0x40+var_30] ; +0x8, 0x10016248c STP X22, X21, [SP,#0x40+var_20] ; +0xc, 0x100162490 STP X20, X19, [SP,#0x40+var_10] ; +0x10, 0x100162494 STP X29, X30, [SP,#0x40+var_s0] ; +0x14, 0x100162498 ADD X29, SP, #0x40 ; +0x18, 0x10016249c MOV X20, X2 ; +0x1c, 0x1001624a0 MOV X19, X0 ; +0x20, 0x1001624a4 MOV W2, #0 ; +0x24, 0x1001624a8 MOV W3, #1 ; +0x28, 0x1001624ac BL DS_Dictionary__setSubDictForKey ; +0x2c, 0x1001624b0 ADRL X1, aIsarr; "_isArr" ; +0x30, 0x1001624b4 MOV X0, X19 ; +0x38, 0x1001624bc MOV W2, #1 ; +0x3c, 0x1001624c0 MOV W3, #0 ; +0x40, 0x1001624c4 BL DS_Dictionary__setBoolForKey ; +0x44, 0x1001624c8 MOV X0, X20 ; +0x48, 0x1001624cc BL sub_10024A36C ; +0x4c, 0x1001624d0 CBZ W0, loc_100162528 ; +0x50, 0x1001624d4 MOV W21, #0 ; +0x54, 0x1001624d8 ADRL X22, aKI; "k_%i" ; +0x58, 0x1001624dc MOV X0, X20 ; +0x60, 0x1001624e4 MOV X1, X21 ; +0x64, 0x1001624e8 BL sub_10024A388 ; +0x68, 0x1001624ec MOV X23, X0 ; +0x6c, 0x1001624f0 STR X21, [SP,#0x40+var_40] ; +0x70, 0x1001624f4 MOV X0, X22 ; +0x74, 0x1001624f8 BL sub_100268F4C ; +0x78, 0x1001624fc BL cocos2d__CCString__getCString ; +0x7c, 0x100162500 MOV X1, X0; int ; +0x80, 0x100162504 MOV X0, X19; int ; +0x84, 0x100162508 MOV X2, X23; lpsrc ; +0x88, 0x10016250c BL DS_Dictionary__setObjectForKey ; +0x8c, 0x100162510 ADD W21, W21, #1 ; +0x90, 0x100162514 MOV X0, X20 ; +0x94, 0x100162518 BL sub_10024A36C ; +0x98, 0x10016251c CMP W21, W0 ; +0x9c, 0x100162520 B.CC loc_1001624E4 ; +0xa0, 0x100162524 LDP X9, X8, [X19,#0xD0] ; +0xa4, 0x100162528 SUB X9, X8, X9 ; +0xa8, 0x10016252c CMP X9, #9 ; +0xac, 0x100162530 B.CC loc_100162540 ; +0xb0, 0x100162534 SUB X8, X8, #8 ; +0xb4, 0x100162538 STR X8, [X19,#0xD8] ; +0xb8, 0x10016253c LDP X29, X30, [SP,#0x40+var_s0] ; +0xbc, 0x100162540 LDP X20, X19, [SP,#0x40+var_10] ; +0xc0, 0x100162544 LDP X22, X21, [SP,#0x40+var_20] ; +0xc4, 0x100162548 LDP X24, X23, [SP,#0x40+var_30] ; +0xc8, 0x10016254c ADD SP, SP, #0x50 ; 'P' ; +0xcc, 0x100162550 RET ; +0xd0, 0x100162554